public class MarshalException extends JAXBException
The MarshalException is a subclass of the
JAXBException being thrown if the
marshalling of a JAXB object failed.
| Constructor and Description |
|---|
MarshalException(java.lang.String pMessage)
Creates a new
MarshalException with the specified
detail message. |
MarshalException(java.lang.String pMessage,
java.lang.String pErrorCode)
Creates a new
MarshalException with the specified
detail message and vendor specific error code. |
MarshalException(java.lang.String pMessage,
java.lang.String pErrorCode,
java.lang.Throwable pLinkedException)
Creates a new
MarshalException with the specified
detail message, error code, and linked exception. |
MarshalException(java.lang.String pMessage,
java.lang.Throwable pLinkedException)
Creates a new
MarshalException with the specified
detail message and linked exception. |
MarshalException(java.lang.Throwable pLinkedException)
Creates a new
MarshalException with the specified
linked exception. |
getErrorCode, getLinkedException, printStackTrace, printStackTrace, printStackTrace, setLinkedException, toStringpublic MarshalException(java.lang.String pMessage)
Creates a new MarshalException with the specified
detail message.
pMessage - The detail message.public MarshalException(java.lang.String pMessage,
java.lang.String pErrorCode)
Creates a new MarshalException with the specified
detail message and vendor specific error code.
pMessage - The detail message.pErrorCode - The error code.public MarshalException(java.lang.Throwable pLinkedException)
Creates a new MarshalException with the specified
linked exception.
pLinkedException - The linked exception.public MarshalException(java.lang.String pMessage,
java.lang.Throwable pLinkedException)
Creates a new MarshalException with the specified
detail message and linked exception.
pMessage - The detail message.pLinkedException - The linked exception.public MarshalException(java.lang.String pMessage,
java.lang.String pErrorCode,
java.lang.Throwable pLinkedException)
Creates a new MarshalException with the specified
detail message, error code, and linked exception.
pMessage - The detail message.pErrorCode - The vendor specific error code.pLinkedException - The linked exception.