Class ValidationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.qulice.spi.ValidationException
All Implemented Interfaces:
Serializable

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

    • 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