JAXBContext, Marshaller, Unmarshaller
| Modifier and Type | Field and Description |
|---|---|
| private String | errorCode
Vendor specific error code |
| private volatile Throwable | linkedException
Exception reference |
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| public | JAXBException(String
a description of the exception message)Construct a JAXBException with the specified detail message. |
| public | JAXBException(String
a description of the exception message, String a string specifying the vendor specific error code errorCode)Construct a JAXBException with the specified detail message and vendor specific errorCode. |
| public | JAXBException(Throwable
the linked exception exception)Construct a JAXBException with a linkedException. |
| public | JAXBException(String
a description of the exception message, Throwable the linked exception exception)Construct a JAXBException with the specified detail message and linkedException. |
| public | JAXBException(String
a description of the exception message, String a string specifying the vendor specific error code errorCode, Throwable the linked exception exception)Construct a JAXBException with the specified detail message, vendor specific errorCode, and linkedException. |
| Modifier and Type | Method and Description |
|---|---|
| public Throwable | getCause()
Overrides java. null if the
cause is nonexistent or unknown.
|
| public String | Returns: a string specifying the vendor specific error codeGet the vendor specific error code |
| public Throwable | |
| public void | printStackTrace(PrintStream
PrintStream to use for output s)Overrides java. |
| public void | printStackTrace()
Overrides java. System.err.
|
| public void | printStackTrace(PrintWriter
PrintWriter to use for output s)Overrides java. |
| public void | setLinkedException(Throwable
the linked Exception (A null value is permitted and
indicates that the linked exception does not exist or
is unknown). exception)Add a linked Exception. |
| public String | toString()
Overrides java. |
| errorCode | back to summary |
|---|---|
| private String errorCode Vendor specific error code | |
| linkedException | back to summary |
|---|---|
| private volatile Throwable linkedException Exception reference | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID | |
| JAXBException | back to summary |
|---|---|
| public JAXBException(String message) Construct a JAXBException with the specified detail message. The errorCode and linkedException will default to null.
| |
| JAXBException | back to summary |
|---|---|
| public JAXBException(String message, String errorCode) Construct a JAXBException with the specified detail message and vendor specific errorCode. The linkedException will default to null. | |
| JAXBException | back to summary |
|---|---|
| public JAXBException(Throwable exception) Construct a JAXBException with a linkedException. The detail message and vendor specific errorCode will default to null.
| |
| JAXBException | back to summary |
|---|---|
| public JAXBException(String message, Throwable exception) Construct a JAXBException with the specified detail message and linkedException. The errorCode will default to null. | |
| JAXBException | back to summary |
|---|---|
| public JAXBException(String message, String errorCode, Throwable exception) Construct a JAXBException with the specified detail message, vendor specific errorCode, and linkedException. | |
| getCause | back to summary |
|---|---|
| public Throwable getCause() Overrides java. Doc from java. Returns the cause of this throwable or This implementation returns the cause that was supplied via one of
the constructors requiring a | |
| getErrorCode | back to summary |
|---|---|
| public String getErrorCode() Get the vendor specific error code
| |
| getLinkedException | back to summary |
|---|---|
| public Throwable getLinkedException() Get the linked exception
| |
| printStackTrace | back to summary |
|---|---|
| public void printStackTrace(PrintStream s) Overrides java. Prints this JAXBException and its stack trace (including the stack trace of the linkedException if it is non-null) to the PrintStream.
| |
| printStackTrace | back to summary |
|---|---|
| public void printStackTrace() Overrides java. Prints this JAXBException and its stack trace (including the stack trace
of the linkedException if it is non-null) to | |
| printStackTrace | back to summary |
|---|---|
| public void printStackTrace(PrintWriter s) Overrides java. Prints this JAXBException and its stack trace (including the stack trace of the linkedException if it is non-null) to the PrintWriter.
| |
| setLinkedException | back to summary |
|---|---|
| public void setLinkedException(Throwable exception) Add a linked Exception.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a short description of this JAXBException.
| |