Class ValidatorException

  • All Implemented Interfaces:
    Serializable

    public class ValidatorException
    extends RuntimeException
    Exception thrown when a Validator problem occurs. This is not intended to be thrown from a validator when validation fails, but instead is to be used to instead signify a problem with the validator itself. As this class is a runtime exception, there is no need for user code to catch it or subclasses if any error is to be considered fatal (the usual case).
    See Also:
    Serialized Form
    • Constructor Detail

      • ValidatorException

        public ValidatorException​(String message)
        Constructor.
        Parameters:
        message - message
      • ValidatorException

        public ValidatorException​(String message,
                                  Throwable cause)
        Constructor.
        Parameters:
        message - message
        cause - cause