org.jasig.cas.authentication.handler
Class UncategorizedAuthenticationException

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.UncategorizedAuthenticationException
All Implemented Interfaces:
java.io.Serializable

public abstract class UncategorizedAuthenticationException
extends AuthenticationException

Generic abstract exception to extend when you don't know what the heck is going on.

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

Constructor Summary
UncategorizedAuthenticationException(java.lang.String code)
          Constructor that allows for providing a custom error code for this class.
UncategorizedAuthenticationException(java.lang.String code, java.lang.Throwable throwable)
          Constructor that allows for chaining of exceptions and a custom error code.
 
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
 

Constructor Detail

UncategorizedAuthenticationException

public UncategorizedAuthenticationException(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.

UncategorizedAuthenticationException

public UncategorizedAuthenticationException(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.