Class ValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.app.exception.ValidationException
- All Implemented Interfaces:
Serializable
Exception thrown when validation of an input or data fails.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionValidationException
(String message) Constructs a new ValidationException with the specified detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ValidationException
Constructs a new ValidationException with the specified detail message.- Parameters:
message
- the detail message explaining the validation failure.
-