Package net.ionite.docval.validation
Class ValidatorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.ionite.docval.validation.ValidatorException
- All Implemented Interfaces:
Serializable
Exception that is thrown when validating documents fails due to an error, and
the validator or validator manager cannot return a validation result.
For example, this exception is thrown when a validation file could not be
loaded.
Note that this exception does not mean that the document is not valid.
- See Also:
-
Constructor Summary
ConstructorDescriptionValidatorException
(String errorMessage) Construct a ValidatorException with the given error messageValidatorException
(String errorMessage, Throwable exc) Construct a ConfigurationError with the given error message and underlying exception -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ValidatorException
Construct a ValidatorException with the given error message- Parameters:
errorMessage
- String containing the error message
-
ValidatorException
Construct a ConfigurationError with the given error message and underlying exception- Parameters:
errorMessage
- String containing the error messageexc
- Throwable containing an underlying exception
-