Package org.apache.shiro.authc
Class CredentialsException
-
-
-
-
- org.apache.shiro.ShiroException
-
- org.apache.shiro.authc.AuthenticationException
-
- org.apache.shiro.authc.CredentialsException
-
-
-
-
- All Implemented Interfaces:
- Direct Known Subclasses:
ExpiredCredentialsException
,IncorrectCredentialsException
public class CredentialsException extends AuthenticationException
Exception thrown due to a problem with the credential(s) submitted for an account during the authentication process.- Since:
- 0.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CredentialsException()
Creates a new CredentialsException.message)
Constructs a new CredentialsException.message, cause)
Constructs a new CredentialsException.cause)
Constructs a new CredentialsException.
-
-
-
Constructor Detail
-
CredentialsException
public CredentialsException()
Creates a new CredentialsException.
-
CredentialsException
public CredentialsException( message)
Constructs a new CredentialsException.- Parameters:
message
- the reason for the exception
-
CredentialsException
public CredentialsException( cause)
Constructs a new CredentialsException.- Parameters:
cause
- the underlying Throwable that caused this exception to be thrown.
-
CredentialsException
public CredentialsException( message, cause)
Constructs a new CredentialsException.- Parameters:
message
- the reason for the exceptioncause
- the underlying Throwable that caused this exception to be thrown.
-
-