Class CredentialsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.shiro.lang.ShiroException
org.apache.shiro.authc.AuthenticationException
org.apache.shiro.authc.CredentialsException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ExpiredCredentialsException,IncorrectCredentialsException
Exception thrown due to a problem with the credential(s) submitted for an
account during the authentication process.
- Since:
- 0.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new CredentialsException.CredentialsException(String message) Constructs a new CredentialsException.CredentialsException(String message, Throwable cause) Constructs a new CredentialsException.CredentialsException(Throwable cause) Constructs a new CredentialsException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CredentialsException
public CredentialsException()Creates a new CredentialsException. -
CredentialsException
Constructs a new CredentialsException.- Parameters:
message- the reason for the exception
-
CredentialsException
Constructs a new CredentialsException.- Parameters:
cause- the underlying Throwable that caused this exception to be thrown.
-
CredentialsException
Constructs a new CredentialsException.- Parameters:
message- the reason for the exceptioncause- the underlying Throwable that caused this exception to be thrown.
-