Class UnsupportedTokenException
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.pam.UnsupportedTokenException
- All Implemented Interfaces:
Serializable
Exception thrown during the authentication process when an
AuthenticationToken implementation is encountered that is not
supported by one or more configured Realms.- Since:
- 0.2
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new UnsupportedTokenException.UnsupportedTokenException(String message) Constructs a new UnsupportedTokenException.UnsupportedTokenException(String message, Throwable cause) Constructs a new UnsupportedTokenException.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 Details
-
UnsupportedTokenException
public UnsupportedTokenException()Creates a new UnsupportedTokenException. -
UnsupportedTokenException
Constructs a new UnsupportedTokenException.- Parameters:
message- the reason for the exception
-
UnsupportedTokenException
Constructs a new UnsupportedTokenException.- Parameters:
cause- the underlying Throwable that caused this exception to be thrown.
-
UnsupportedTokenException
Constructs a new UnsupportedTokenException.- Parameters:
message- the reason for the exceptioncause- the underlying Throwable that caused this exception to be thrown.
-