Class ValidationException

  • All Implemented Interfaces:
    Serializable

    public final class ValidationException
    extends Exception
    Thrown when input parameters type do not match the expected type. Also for their structure and size.
    See Also:
    Serialized Form
    • Constructor Detail

      • ValidationException

        public ValidationException​(String message)
        Constructs a ValidationException with an explanatory message.
        Parameters:
        message - Detail about the reason for the exception.
      • ValidationException

        public ValidationException​(String message,
                                   Throwable cause)
        Constructs a ValidationException with an explanatory message and cause.
        Parameters:
        message - Detail about the reason for the exception.
        cause - The cause.
      • ValidationException

        public ValidationException​(Throwable cause)
        Constructs a new ValidationException with the specified cause.
        Parameters:
        cause - The cause.