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
public class ValidatorException extends RuntimeException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValidatorException(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 Detail
-
ValidatorException
public ValidatorException(String errorMessage)
Construct a ValidatorException with the given error message- Parameters:
errorMessage
- String containing the error message
-
-