Class PasswordIncorrectException
java.lang.Object
java.lang.Throwable
java.lang.Exception
exception.PasswordIncorrectException
- All Implemented Interfaces:
Serializable
Custom checked exception thrown during authentication processes (like login or password change verification)
when the provided password does not match the stored credentials for the user account.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newPasswordIncorrectExceptionwith a default 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
-
PasswordIncorrectException
public PasswordIncorrectException()Constructs a newPasswordIncorrectExceptionwith a default detail message. The default message is "Password is incorrect.".
-