org.apache.shiro.authc
Class DisabledAccountException

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
                          extended by org.apache.shiro.authc.DisabledAccountException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
LockedAccountException

public class DisabledAccountException
extends AccountException

Thrown when attempting to authenticate and the corresponding account has been disabled for some reason.

Since:
0.1
See Also:
LockedAccountException, Serialized Form

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

DisabledAccountException

public DisabledAccountException()
Creates a new DisabledAccountException.


DisabledAccountException

public DisabledAccountException(String message)
Constructs a new DisabledAccountException.

Parameters:
message - the reason for the exception

DisabledAccountException

public DisabledAccountException(Throwable cause)
Constructs a new DisabledAccountException.

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

DisabledAccountException

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

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.