Class 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:
  • Constructor Details

    • ValidatorException

      public ValidatorException(String errorMessage)
      Construct a ValidatorException with the given error message
      Parameters:
      errorMessage - String containing the error message
    • ValidatorException

      public ValidatorException(String errorMessage, Throwable exc)
      Construct a ConfigurationError with the given error message and underlying exception
      Parameters:
      errorMessage - String containing the error message
      exc - Throwable containing an underlying exception