com.netscape.certsrv.dbs
Class EDBException

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.dbs.EDBException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
EDBNotAvailException, EDBRecordNotFoundException

public class EDBException
extends EBaseException

A class represents a database 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
EDBException(java.lang.String msgFormat)
          Constructs a database exception.
EDBException(java.lang.String msgFormat, java.lang.Exception e)
          Constructs a database exception.
EDBException(java.lang.String msgFormat, java.lang.Object[] params)
          Constructs a database exception.
EDBException(java.lang.String msgFormat, java.lang.String param)
          Constructs a database exception.
 
Method Summary
protected  java.lang.String getBundleName()
          Returns the given 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

EDBException

public EDBException(java.lang.String msgFormat)
Constructs a database exception.

Parameters:
msgFormat - message format

EDBException

public EDBException(java.lang.String msgFormat,
                    java.lang.String param)
Constructs a database exception.

Parameters:
msgFormat - message format
param - parameter

EDBException

public EDBException(java.lang.String msgFormat,
                    java.lang.Exception e)
Constructs a database exception.

Parameters:
msgFormat - message format
e - exception as parameter

EDBException

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

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

getBundleName

protected java.lang.String getBundleName()
Description copied from class: EBaseException
Returns the given resource bundle name.

Overrides:
getBundleName in class EBaseException
Returns:
the name of the resource bundle for this class.