com.netscape.certsrv.authentication
Class EAuthException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.netscape.certsrv.base.EBaseException
              extended by com.netscape.certsrv.authentication.EAuthException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
EAuthInternalError, EAuthMgrNotFound, EAuthMgrPluginNotFound, EAuthUserError, ECompSyntaxErr, EFormSubjectDN, EInvalidCredentials, EMissingCredential

public class EAuthException
extends EBaseException

This class represents authentication exceptions.

Version:
$Revision: 1211 $, $Date: 2010-08-18 10:15:37 -0700 (Wed, 18 Aug 2010) $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.netscape.certsrv.base.EBaseException
mParams
 
Constructor Summary
EAuthException(java.lang.String msgFormat)
          Constructs an authentication exception
EAuthException(java.lang.String msgFormat, java.lang.Exception exception)
          Constructs a auth exception with a exception parameter.
EAuthException(java.lang.String msgFormat, java.lang.Object[] params)
          Constructs a auth exception with a list of parameters.
EAuthException(java.lang.String msgFormat, java.lang.String param)
          Constructs an authentication exception with a parameter.
 
Method Summary
protected  java.lang.String getBundleName()
          Returns the resource bundle name
 
Methods inherited from class com.netscape.certsrv.base.EBaseException
getParameters, toString, 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

EAuthException

public EAuthException(java.lang.String msgFormat)
Constructs an authentication exception

Parameters:
msgFormat - exception details

EAuthException

public EAuthException(java.lang.String msgFormat,
                      java.lang.String param)
Constructs an authentication exception with a parameter.

Parameters:
msgFormat - exception details in message string format
param - message string parameter

EAuthException

public EAuthException(java.lang.String msgFormat,
                      java.lang.Exception exception)
Constructs a auth exception with a exception parameter.

Parameters:
msgFormat - exception details in message string format
exception - system exception

EAuthException

public EAuthException(java.lang.String msgFormat,
                      java.lang.Object[] params)
Constructs a auth exception with a list of parameters.

Parameters:
msgFormat - the message format.
params - list of message format parameters
Method Detail

getBundleName

protected java.lang.String getBundleName()
Returns the resource bundle name

Overrides:
getBundleName in class EBaseException
Returns:
resource bundle name.