com.sun.identity.authentication.spi
Class  AuthenticationException
java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.sun.identity.common.L10NMessageImpl
                    |
                    +--com.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
 AuthenticationExceptionwith given message. | 
| AuthenticationException(java.lang.String rbName,
                        java.lang.String errorCode,
                        java.lang.Object[] args)Constructs an
 AuthenticationExceptionwith the message from 
 the given resource bundle, for a given error message keyerrorCodeand 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, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString | 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
AuthenticationException
public AuthenticationException(java.lang.String msg)
- Constructs an AuthenticationExceptionwith 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 AuthenticationExceptionwith the message from 
 the given resource bundle, for a given error message keyerrorCodeand 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 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.