| Constructor: |
public JAXBException(String message) {
this( message, null, null );
}
Construct a JAXBException with the specified detail message. The
errorCode and linkedException will default to null. Parameters:
message - a description of the exception
|
public JAXBException(Throwable exception) {
this( null, null, exception );
}
Construct a JAXBException with a linkedException. The detail message and
vendor specific errorCode will default to null. Parameters:
exception - the linked exception
|
public JAXBException(String message,
String errorCode) {
this( message, errorCode, null );
}
Construct a JAXBException with the specified detail message and vendor
specific errorCode. The linkedException will default to null. Parameters:
message - a description of the exception
errorCode - a string specifying the vendor specific error code
|
public JAXBException(String message,
Throwable exception) {
this( message, null, exception );
}
Construct a JAXBException with the specified detail message and
linkedException. The errorCode will default to null. Parameters:
message - a description of the exception
exception - the linked exception
|
public JAXBException(String message,
String errorCode,
Throwable exception) {
super( message );
this.errorCode = errorCode;
this.linkedException = exception;
}
Construct a JAXBException with the specified detail message, vendor
specific errorCode, and linkedException. Parameters:
message - a description of the exception
errorCode - a string specifying the vendor specific error code
exception - the linked exception
|
| Method from javax.xml.bind.JAXBException Detail: |
public Throwable getCause() {
return linkedException;
}
|
public String getErrorCode() {
return this.errorCode;
}
Get the vendor specific error code |
public Throwable getLinkedException() {
return linkedException;
}
|
public void printStackTrace() {
super.printStackTrace();
}
Prints this JAXBException and its stack trace (including the stack trace
of the linkedException if it is non-null) to System.err. |
public void printStackTrace(PrintStream s) {
super.printStackTrace(s);
}
Prints this JAXBException and its stack trace (including the stack trace
of the linkedException if it is non-null) to the PrintStream. |
public void printStackTrace(PrintWriter s) {
super.printStackTrace(s);
}
Prints this JAXBException and its stack trace (including the stack trace
of the linkedException if it is non-null) to the PrintWriter. |
public synchronized void setLinkedException(Throwable exception) {
this.linkedException = exception;
}
|
public String toString() {
return linkedException == null ?
super.toString() :
super.toString() + "\n - with linked exception:\n[" +
linkedException.toString()+ "]";
}
Returns a short description of this JAXBException. |