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