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