Class ValidationException

  • All Implemented Interfaces:
    Serializable

    public class ValidationException
    extends Exception
    A ValidationException may be thrown if the specified input fails validation.
    Since:
    1.0
    Author:
    Steve Springett
    See Also:
    Serialized Form
    • Constructor Detail

      • ValidationException

        public ValidationException​(Object input,
                                   String message)
        Constructs a new ValidationException
        Parameters:
        input - the input that failed validation
        message - the error message explaining why validation failed