public class MarshalException extends JAXBException
The ValidationEventHandler can cause this exception to be thrown during the marshal operations. See ValidationEventHandler.handleEvent(ValidationEvent).
JAXBException,
Marshaller,
Serialized Form
| Constructor and Description |
|---|
MarshalException(String
Construct a MarshalException with the specified detail message.
|
MarshalException(String
Construct a MarshalException with the specified detail message and vendor specific errorCode.
|
MarshalException(String
Construct a MarshalException with the specified detail message, vendor specific errorCode, and linkedException.
|
MarshalException(String
Construct a MarshalException with the specified detail message and linkedException.
|
MarshalException(Throwable
Construct a MarshalException with a linkedException.
|
getCause, getErrorCode, getLinkedException, printStackTrace, printStackTrace, printStackTrace, setLinkedException, toStringaddSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTracepublic MarshalException(Stringmessage)
message - a description of the exception
public MarshalException(Stringmessage, String errorCode)
message - a description of the exception
errorCode - a string specifying the vendor specific error code
public MarshalException(Throwableexception)
exception - the linked exception
public MarshalException(Stringmessage, Throwable exception)
message - a description of the exception
exception - the linked exception
public MarshalException(Stringmessage, String errorCode, Throwable exception)
message - a description of the exception
errorCode - a string specifying the vendor specific error code
exception - the linked exception