com.netscape.certsrv.kra
Class EKRAException

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

public class EKRAException
extends EBaseException

A class represents a KRA exception. This is the base exception for all the KRA specific exceptions. It is associated with KRAResources.

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
EKRAException(java.lang.String msgFormat)
          Constructs a KRA exception.
EKRAException(java.lang.String msgFormat, java.lang.Exception e)
          Constructs a KRA exception.
EKRAException(java.lang.String msgFormat, java.lang.Object[] params)
          Constructs a KRA exception.
EKRAException(java.lang.String msgFormat, java.lang.String param)
          Constructs a KRA 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

EKRAException

public EKRAException(java.lang.String msgFormat)
Constructs a KRA exception.

Parameters:
msgFormat - constant from KRAResources.

EKRAException

public EKRAException(java.lang.String msgFormat,
                     java.lang.String param)
Constructs a KRA exception.

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

EKRAException

public EKRAException(java.lang.String msgFormat,
                     java.lang.Exception e)
Constructs a KRA exception.

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

EKRAException

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

Parameters:
msgFormat - constant from KRAResources.
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.