public class ValidationException extends JAXBException
The ValidationEventHandler can cause this exception to be thrown
during the validate operations. See
ValidationEventHandler.handleEvent(ValidationEvent).
JAXBException,
Validator,
Serialized Form| Constructor and Description |
|---|
ValidationException(java.lang.String message)
Construct an ValidationException with the specified detail message.
|
ValidationException(java.lang.String message,
java.lang.String errorCode)
Construct an ValidationException with the specified detail message and vendor
specific errorCode.
|
ValidationException(java.lang.String message,
java.lang.String errorCode,
java.lang.Throwable exception)
Construct an ValidationException with the specified detail message, vendor
specific errorCode, and linkedException.
|
ValidationException(java.lang.String message,
java.lang.Throwable exception)
Construct an ValidationException with the specified detail message and
linkedException.
|
ValidationException(java.lang.Throwable exception)
Construct an ValidationException with a linkedException.
|
getCause, getErrorCode, getLinkedException, printStackTrace, printStackTrace, printStackTrace, setLinkedException, toStringpublic ValidationException(java.lang.String message)
message - a description of the exceptionpublic ValidationException(java.lang.String message,
java.lang.String errorCode)
message - a description of the exceptionerrorCode - a string specifying the vendor specific error codepublic ValidationException(java.lang.Throwable exception)
exception - the linked exceptionpublic ValidationException(java.lang.String message,
java.lang.Throwable exception)
message - a description of the exceptionexception - the linked exceptionpublic ValidationException(java.lang.String message,
java.lang.String errorCode,
java.lang.Throwable exception)
message - a description of the exceptionerrorCode - a string specifying the vendor specific error codeexception - the linked exception