org.apache.shiro.authc
Class AuthenticationException

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
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AccountException, CredentialsException, UnsupportedTokenException

public class AuthenticationException
extends ShiroException

General exception thrown due to an error during the Authentication process.

Since:
0.1
See Also:
Serialized Form

Constructor Summary
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
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

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.

AuthenticationException

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

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.