com.sun.identity.authentication.spi
Class AuthenticationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.sun.identity.common.L10NMessageImpl
              extended bycom.sun.identity.authentication.spi.AuthenticationException
All Implemented Interfaces:
com.sun.identity.common.L10NMessage, java.io.Serializable

public class AuthenticationException
extends com.sun.identity.common.L10NMessageImpl

This class is for handling Exception that is thrown when the user-entered tokens cause the authentication module to be authenticated to fail.

See Also:
Serialized Form

Constructor Summary
AuthenticationException(java.lang.String msg)
          Constructs an AuthenticationException with given message.
AuthenticationException(java.lang.String rbName, java.lang.String errorCode, java.lang.Object[] args)
          Constructs an AuthenticationException with the message from the given resource bundle, for a given error message key errorCode and using arguments to the message.
 
Methods inherited from class com.sun.identity.common.L10NMessageImpl
getErrorCode, getL10NMessage, getMessage, getMessageArgs, getResourceBundleName
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuthenticationException

public AuthenticationException(java.lang.String msg)
Constructs an AuthenticationException with given message.

Parameters:
msg - English message of this exception.

AuthenticationException

public AuthenticationException(java.lang.String rbName,
                               java.lang.String errorCode,
                               java.lang.Object[] args)
Constructs an AuthenticationException with the message from the given resource bundle, for a given error message key errorCode and using arguments to the message.

Parameters:
rbName - Resource bundle name for the message
errorCode - Key to the message in resource bundle.
args - Arguments to the message.


Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.