Package org.apache.shiro.authc
Class AuthenticationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.shiro.ShiroException
-
- org.apache.shiro.authc.AuthenticationException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AccountException
,CredentialsException
,ShortCircuitIterationException
,UnsupportedTokenException
public class AuthenticationException extends org.apache.shiro.ShiroException
General exception thrown due to an error during the Authentication process.- Since:
- 0.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthenticationException()
Creates 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 Detail
-
AuthenticationException
public AuthenticationException()
Creates a new AuthenticationException.
-
AuthenticationException
public AuthenticationException(String message)
Constructs a new AuthenticationException.- Parameters:
message
- the reason for the exception
-
AuthenticationException
public AuthenticationException(Throwable cause)
Constructs a new AuthenticationException.- Parameters:
cause
- the underlying Throwable that caused this exception to be thrown.
-
-