org.apache.shiro.authc
Class AccountException

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.AccountException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConcurrentAccessException, DisabledAccountException, ExcessiveAttemptsException, UnknownAccountException

public class AccountException
extends AuthenticationException

Exception thrown due to a problem with the account under which an authentication attempt is being executed.

Since:
0.1
See Also:
Serialized Form

Constructor Summary
AccountException()
          Creates a new AccountException.
AccountException(String message)
          Constructs a new AccountException.
AccountException(String message, Throwable cause)
          Constructs a new AccountException.
AccountException(Throwable cause)
          Constructs a new AccountException.
 
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

AccountException

public AccountException()
Creates a new AccountException.


AccountException

public AccountException(String message)
Constructs a new AccountException.

Parameters:
message - the reason for the exception

AccountException

public AccountException(Throwable cause)
Constructs a new AccountException.

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

AccountException

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

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


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