|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.naming.NamingException
javax.naming.ServiceUnavailableException
org.apache.directory.shared.ldap.exception.LdapServiceUnavailableException
LDAP specific ServiceUnavailableException that preserves resultCode resolution.
Field Summary |
Fields inherited from class javax.naming.NamingException |
remainingName, resolvedName, resolvedObj, rootException |
Constructor Summary | |
LdapServiceUnavailableException(ResultCodeEnum resultCode)
Creates an LDAP specific ServiceUnavailableException that preserves resultCode resolution. |
|
LdapServiceUnavailableException(java.lang.String explanation,
ResultCodeEnum resultCode)
Creates an LDAP specific ServiceUnavailableException that preserves resultCode resolution. |
Method Summary | |
ResultCodeEnum |
getResultCode()
Returns one of the resultCodes within the set ResultCodeEnum.SERVICEUNAVAILABLE_CODES . |
Methods inherited from class javax.naming.NamingException |
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toString |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LdapServiceUnavailableException(ResultCodeEnum resultCode)
resultCode
- the LDAP result code to be checked
java.lang.IllegalArgumentException
- if the result code is not within the set
ResultCodeEnum.SERVICEUNAVAILABLE_CODES
.public LdapServiceUnavailableException(java.lang.String explanation, ResultCodeEnum resultCode)
explanation
- the reason for the exception to pass to superresultCode
- the LDAP result code to be checked
java.lang.IllegalArgumentException
- if the result code is not within the set
ResultCodeEnum.SERVICEUNAVAILABLE_CODES
.Method Detail |
public final ResultCodeEnum getResultCode()
ResultCodeEnum.SERVICEUNAVAILABLE_CODES
.
getResultCode
in interface LdapException
LdapException.getResultCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |