com.netscape.certsrv.ca
Class ECAException

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.ca.ECAException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
EErrorPublishCRL

public class ECAException
extends EBaseException

A class represents a CA exception.

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
ECAException(java.lang.String msgFormat)
          Constructs a CA exception.
ECAException(java.lang.String msgFormat, java.lang.Exception e)
          Constructs a CA exception.
ECAException(java.lang.String msgFormat, java.lang.Object[] params)
          Constructs a CA exception.
ECAException(java.lang.String msgFormat, java.lang.String param)
          Constructs a CA exception.
 
Method Summary
protected  java.lang.String getBundleName()
          Returns the bundle file 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

ECAException

public ECAException(java.lang.String msgFormat)
Constructs a CA exception.

Parameters:
msgFormat - constant from CAResources.

ECAException

public ECAException(java.lang.String msgFormat,
                    java.lang.String param)
Constructs a CA exception.

Parameters:
msgFormat - constant from CAResources.
param - additional parameters to the message.

ECAException

public ECAException(java.lang.String msgFormat,
                    java.lang.Exception e)
Constructs a CA exception.

Parameters:
msgFormat - constant from CAResources.
e - embedded exception.

ECAException

public ECAException(java.lang.String msgFormat,
                    java.lang.Object[] params)
Constructs a CA exception.

Parameters:
msgFormat - constant from CAResources.
params - additional parameters to the message.
Method Detail

getBundleName

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

Overrides:
getBundleName in class EBaseException
Returns:
name of bundle class associated with this exception.