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(String
Construct an ValidationException with the specified detail message.
|
ValidationException(String
Construct an ValidationException with the specified detail message and vendor specific errorCode.
|
ValidationException(String
Construct an ValidationException with the specified detail message, vendor specific errorCode, and linkedException.
|
ValidationException(String
Construct an ValidationException with the specified detail message and linkedException.
|
ValidationException(Throwable
Construct an ValidationException with a linkedException.
|
getCause, getErrorCode, getLinkedException, printStackTrace, printStackTrace, printStackTrace, setLinkedException, toStringaddSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTracepublic ValidationException(Stringmessage)
message - a description of the exception
public ValidationException(Stringmessage, String errorCode)
message - a description of the exception
errorCode - a string specifying the vendor specific error code
public ValidationException(Throwableexception)
exception - the linked exception
public ValidationException(Stringmessage, Throwable exception)
message - a description of the exception
exception - the linked exception
public ValidationException(Stringmessage, String errorCode, Throwable exception)
message - a description of the exception
errorCode - a string specifying the vendor specific error code
exception - the linked exception