Package app.YUP.exception
Class CaptchaNotValidException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
app.YUP.exception.CaptchaNotValidException
- All Implemented Interfaces:
Serializable
This class represents a custom exception that is thrown when the captcha is not valid.
It extends the RuntimeException class, which is a form of Throwable that indicates conditions that a reasonable application might want to catch.
- Version:
- 1.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCaptchaNotValidException(String message) Constructs a new CaptchaNotValidException with the specified detail message.CaptchaNotValidException(String message, Throwable cause) Constructs a new CaptchaNotValidException with the specified detail message and cause.Constructs a new CaptchaNotValidException with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CaptchaNotValidException
Constructs a new CaptchaNotValidException with the specified detail message. The detail message is saved for later retrieval by the getMessage() method.- Parameters:
message- the detail message.
-
CaptchaNotValidException
Constructs a new CaptchaNotValidException with the specified cause. The cause is saved for later retrieval by the getCause() method. A null value is permitted, and indicates that the cause is nonexistent or unknown.- Parameters:
cause- the cause (which is saved for later retrieval by the getCause() method).
-
CaptchaNotValidException
Constructs a new CaptchaNotValidException with the specified detail message and cause. The detail message is saved for later retrieval by the getMessage() method. The cause is saved for later retrieval by the getCause() method. A null value is permitted, and indicates that the cause is nonexistent or unknown.- Parameters:
message- the detail message.cause- the cause.
-