|
||||||||||
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
org.apache.ldap.common.exception.LdapNamingException
org.apache.ldap.server.interceptor.InterceptorException
A LdapNamingException
that wraps uncaught runtime exceptions thrown from Interceptor
s.
Field Summary |
Fields inherited from class javax.naming.NamingException |
remainingName, resolvedName, resolvedObj, rootException |
Constructor Summary | |
InterceptorException(Interceptor interceptor,
Invocation invocation)
Creates an InterceptorException without a message. |
|
InterceptorException(Interceptor interceptor,
Invocation invocation,
java.lang.String explanation)
Creates an InterceptorException with a custom message. |
|
InterceptorException(Interceptor interceptor,
Invocation invocation,
java.lang.String explanation,
java.lang.Throwable rootCause)
Creates an InterceptorException without a message. |
|
InterceptorException(Interceptor interceptor,
Invocation invocation,
java.lang.Throwable rootCause)
Creates an InterceptorException without a message. |
Method Summary | |
Interceptor |
getInterceptor()
Gets the interceptor this exception is associated with. |
Invocation |
getInvocation()
Gets the invovation object this exception is associated with. |
org.apache.ldap.common.message.ResultCodeEnum |
getResultCode()
Will return the resultCode of the root cause if the root cause implements LdapException. |
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 InterceptorException(Interceptor interceptor, Invocation invocation)
interceptor
- the Interceptor causing the failureinvocation
- the Invocation the Interceptor failed onpublic InterceptorException(Interceptor interceptor, Invocation invocation, java.lang.String explanation)
interceptor
- the Interceptor causing the failureinvocation
- the Invocation the Interceptor failed onexplanation
- String explanation of why the Interceptor failedpublic InterceptorException(Interceptor interceptor, Invocation invocation, java.lang.Throwable rootCause)
interceptor
- the Interceptor causing the failureinvocation
- the Invocation the Interceptor failed onrootCause
- the root cause of this exceptionpublic InterceptorException(Interceptor interceptor, Invocation invocation, java.lang.String explanation, java.lang.Throwable rootCause)
interceptor
- the Interceptor causing the failureinvocation
- the Invocation the Interceptor failed onexplanation
- String explanation of why the Interceptor failedrootCause
- the root cause of this exceptionMethod Detail |
public Invocation getInvocation()
public Interceptor getInterceptor()
public org.apache.ldap.common.message.ResultCodeEnum getResultCode()
LdapException.getResultCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |