org.apache.shiro.authc.pam
Class UnsupportedTokenException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.shiro.ShiroException
                  extended by org.apache.shiro.authc.AuthenticationException
                      extended by org.apache.shiro.authc.pam.UnsupportedTokenException
All Implemented Interfaces:
Serializable

public class UnsupportedTokenException
extends AuthenticationException

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:
AuthenticationStrategy, Serialized Form

Constructor Summary
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
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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.

UnsupportedTokenException

public UnsupportedTokenException(String message,
                                 Throwable cause)
Constructs a new UnsupportedTokenException.

Parameters:
message - the reason for the exception
cause - the underlying Throwable that caused this exception to be thrown.


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.