com.netscape.certsrv.ldap
Class ELdapException

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.ldap.ELdapException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ECompSyntaxErr, ELdapServerDownException, EMapperNotFound, EMapperPluginNotFound, EPublisherNotFound, EPublisherPluginNotFound, ERuleNotFound, ERulePluginNotFound

public class ELdapException
extends EBaseException

A class that represents a Ldap exception. Various errors can occur when interacting with a Ldap directory server.

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
ELdapException(java.lang.String msgFormat)
          Constructs a Ldap exception.
ELdapException(java.lang.String msgFormat, java.lang.Exception e)
          Constructs a Ldap exception.
ELdapException(java.lang.String msgFormat, java.lang.Object[] params)
          Constructs a Ldap exception.
ELdapException(java.lang.String msgFormat, java.lang.String param)
          Constructs a Ldap exception.
 
Method Summary
protected  java.lang.String getBundleName()
          Gets 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

ELdapException

public ELdapException(java.lang.String msgFormat)
Constructs a Ldap exception.

Parameters:
msgFormat - Resource Key, if key not present, serves as the message.


ELdapException

public ELdapException(java.lang.String msgFormat,
                      java.lang.String param)
Constructs a Ldap exception.

Parameters:
msgFormat - Resource Key, if key not present, serves as the message. Include a message string parameter for variable content.
param - Message string parameter.


ELdapException

public ELdapException(java.lang.String msgFormat,
                      java.lang.Exception e)
Constructs a Ldap exception.

Parameters:
msgFormat - Resource Key, if key not present, serves as the message.
e - Common exception.


ELdapException

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

Parameters:
msgFormat - Resource Key, if key not present, serves as the message.
params - Array of Message string parameters.

Method Detail

getBundleName

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

Overrides:
getBundleName in class EBaseException
Returns:
Name of the Ldap Exception resource bundle name.