org.jasig.cas.authentication.handler
Class BlockedCredentialsAuthenticationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jasig.cas.authentication.handler.AuthenticationException
              extended by org.jasig.cas.authentication.handler.BlockedCredentialsAuthenticationException
All Implemented Interfaces:
java.io.Serializable

public class BlockedCredentialsAuthenticationException
extends AuthenticationException

Exception to represent credentials that have been blocked for a reason such as Locked account.

Since:
3.0
Version:
$Revision: 42053 $ $Date: 2007-06-10 09:17:55 -0400 (Sun, 10 Jun 2007) $
Author:
Scott Battaglia
See Also:
Serialized Form

Field Summary
static BlockedCredentialsAuthenticationException ERROR
          Static instance of BlockedCredentialsAuthenticationException.
 
Constructor Summary
BlockedCredentialsAuthenticationException()
          Default constructor that does not allow the chaining of exceptions and uses the default code as the error code for this exception.
BlockedCredentialsAuthenticationException(java.lang.String code)
          Constructor that allows for providing a custom error code for this class.
BlockedCredentialsAuthenticationException(java.lang.String code, java.lang.Throwable throwable)
          Constructor that allows for chaining of exceptions and a custom error code.
BlockedCredentialsAuthenticationException(java.lang.Throwable throwable)
          Constructor that allows for the chaining of exceptions.
 
Method Summary
 
Methods inherited from class org.jasig.cas.authentication.handler.AuthenticationException
getCode, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ERROR

public static final BlockedCredentialsAuthenticationException ERROR
Static instance of BlockedCredentialsAuthenticationException.

Constructor Detail

BlockedCredentialsAuthenticationException

public BlockedCredentialsAuthenticationException()
Default constructor that does not allow the chaining of exceptions and uses the default code as the error code for this exception.


BlockedCredentialsAuthenticationException

public BlockedCredentialsAuthenticationException(java.lang.Throwable throwable)
Constructor that allows for the chaining of exceptions. Defaults to the default code provided for this exception.

Parameters:
throwable - the chained exception.

BlockedCredentialsAuthenticationException

public BlockedCredentialsAuthenticationException(java.lang.String code)
Constructor that allows for providing a custom error code for this class. Error codes are often used to resolve exceptions into messages. Providing a custom error code allows the use of a different message.

Parameters:
code - the custom code to use with this exception.

BlockedCredentialsAuthenticationException

public BlockedCredentialsAuthenticationException(java.lang.String code,
                                                 java.lang.Throwable throwable)
Constructor that allows for chaining of exceptions and a custom error code.

Parameters:
code - the custom error code to use in message resolving.
throwable - the chained exception.


Copyright © 2004-2010 Java Architectures Special Interest Group. All Rights Reserved.