--- old/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/messaging/saaj/SOAPExceptionImpl.java 2017-02-14 14:25:15.900039603 +0300
+++ new/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/messaging/saaj/SOAPExceptionImpl.java 2017-02-14 14:25:15.804038989 +0300
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -86,6 +86,7 @@
/**
* Constructs a SOAPExceptionImpl
object initialized
* with the given Throwable
object.
+ * @param cause cause
*/
public SOAPExceptionImpl(Throwable cause) {
super (cause.toString());
@@ -106,6 +107,7 @@
* message of the embedded Throwable
object,
* if there is one
*/
+ @Override
public String getMessage() {
String message = super.getMessage ();
if (message == null && cause != null) {
@@ -124,6 +126,7 @@
* if there is none
*/
+ @Override
public Throwable getCause() {
return cause;
}
@@ -157,6 +160,7 @@
* method has already been called on this SOAPExceptionImpl
* object
*/
+ @Override
public synchronized Throwable initCause(Throwable cause)
{
if(this.cause != null) {
@@ -170,6 +174,7 @@
return this;
}
+ @Override
public void printStackTrace() {
super.printStackTrace();
if (cause != null) {
@@ -178,6 +183,7 @@
}
}
+ @Override
public void printStackTrace(PrintStream s) {
super.printStackTrace(s);
if (cause != null) {
@@ -186,6 +192,7 @@
}
}
+ @Override
public void printStackTrace(PrintWriter s) {
super.printStackTrace(s);
if (cause != null) {