Class PasswordPolicyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.aristaflow.adept2.base.security.PasswordPolicyException
- All Implemented Interfaces:
Serializable
A
PasswordPolicyException is thrown when setting or changing a
password and the new password doesn't comply to certain restrictions (like
minimum length).- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newPasswordPolicyExceptionwithnull.PasswordPolicyException(String message) Constructs a newPasswordPolicyExceptionwith the given detail message.PasswordPolicyException(String message, String problem) Constructs a newPasswordPolicyExceptionwith the given detail message and problem.PasswordPolicyException(String message, Throwable cause) Constructs a newPasswordPolicyExceptionwithnull.PasswordPolicyException(Throwable cause) Constructs a newPasswordPolicyExceptionwithnullas detail message and the given 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
-
PasswordPolicyException
public PasswordPolicyException()Constructs a newPasswordPolicyExceptionwithnull. as detail message. -
PasswordPolicyException
Constructs a newPasswordPolicyExceptionwith the given detail message.- Parameters:
message- the detail message
-
PasswordPolicyException
Constructs a newPasswordPolicyExceptionwith the given detail message and problem.- Parameters:
message- the detail messageproblem- the actual problem of the password
-
PasswordPolicyException
Constructs a newPasswordPolicyExceptionwithnull. as detail message and the given cause.- Parameters:
message- the detail messagecause- the cause of this exception
-
PasswordPolicyException
Constructs a newPasswordPolicyExceptionwithnullas detail message and the given cause.- Parameters:
cause- the cause of this exception
-
-
Method Details
-
getProblem
- Returns:
- The problem of the password.
-