Package org.apache.shiro.authc.pam
Class UnsupportedTokenException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.shiro.ShiroException
-
- org.apache.shiro.authc.AuthenticationException
-
- org.apache.shiro.authc.pam.UnsupportedTokenException
-
- All Implemented Interfaces:
Serializable
public class UnsupportedTokenException extends AuthenticationException
Exception thrown during the authentication process when anAuthenticationToken
implementation is encountered that is not supported by one or more configuredRealm
s.- Since:
- 0.2
- See Also:
AuthenticationStrategy
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnsupportedTokenException()
Creates a new UnsupportedTokenException.UnsupportedTokenException(String message)
Constructs a new UnsupportedTokenException.UnsupportedTokenException(String message, Throwable cause)
Constructs a new UnsupportedTokenException.UnsupportedTokenException(Throwable cause)
Constructs a new UnsupportedTokenException.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UnsupportedTokenException
public UnsupportedTokenException()
Creates a new UnsupportedTokenException.
-
UnsupportedTokenException
public UnsupportedTokenException(String message)
Constructs a new UnsupportedTokenException.- Parameters:
message
- the reason for the exception
-
UnsupportedTokenException
public UnsupportedTokenException(Throwable cause)
Constructs a new UnsupportedTokenException.- Parameters:
cause
- the underlying Throwable that caused this exception to be thrown.
-
-