Class ValidationException

  • All Implemented Interfaces:
    Serializable

    public final class ValidationException
    extends Exception
    Exception thrown by a validator, if it fails.
    Since:
    0.3
    See Also:
    Serialized Form
    • Constructor Detail

      • ValidationException

        public ValidationException​(String text,
                                   Object... args)
        Public ctor.
        Parameters:
        text - The text of the exception
        args - Optional arguments for String.format()
      • ValidationException

        public ValidationException​(Throwable cause)
        Public ctor.
        Parameters:
        cause - The cause of exception