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