org.apache.directory.shared.ldap.exception
Class LdapServiceUnavailableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.directory.shared.ldap.exception.LdapException
              extended by org.apache.directory.shared.ldap.exception.LdapOperationException
                  extended by org.apache.directory.shared.ldap.exception.LdapServiceUnavailableException
All Implemented Interfaces:
java.io.Serializable

public class LdapServiceUnavailableException
extends LdapOperationException

LDAP specific LdapOperationException that preserves resultCode resolution.

Version:
$Rev: 923834 $
Author:
Apache Directory Project
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.directory.shared.ldap.exception.LdapOperationException
resolvedDn, resultCode
 
Constructor Summary
LdapServiceUnavailableException(ResultCodeEnum resultCode)
          Creates a new instance of LdapServiceUnavailableException.
LdapServiceUnavailableException(ResultCodeEnum resultCode, java.lang.String message)
          Creates a new instance of LdapServiceUnavailableException.
 
Method Summary
 
Methods inherited from class org.apache.directory.shared.ldap.exception.LdapOperationException
getResolvedDn, getResultCode, setResolvedDn
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LdapServiceUnavailableException

public LdapServiceUnavailableException(ResultCodeEnum resultCode,
                                       java.lang.String message)
Creates a new instance of LdapServiceUnavailableException.

Parameters:
resultCode - the ResultCodeEnum for this exception
message - The exception message

LdapServiceUnavailableException

public LdapServiceUnavailableException(ResultCodeEnum resultCode)
Creates a new instance of LdapServiceUnavailableException.

Parameters:
resultCode - the ResultCodeEnum for this exception


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.