public class InterceptorException
extends org.apache.directory.api.ldap.model.exception.LdapException
LdapException that wraps uncaught runtime exceptions thrown
from Interceptors.| Modifier and Type | Field and Description |
|---|---|
private Interceptor |
interceptor
The Interceptor causing the failure
|
private static long |
serialVersionUID |
| Constructor and Description |
|---|
InterceptorException(Interceptor interceptor)
Creates an InterceptorException without a message.
|
InterceptorException(Interceptor interceptor,
java.lang.String explanation)
Creates an InterceptorException with a custom message.
|
InterceptorException(Interceptor interceptor,
java.lang.String explanation,
java.lang.Throwable rootCause)
Creates an InterceptorException without a message.
|
InterceptorException(Interceptor interceptor,
java.lang.Throwable rootCause)
Creates an InterceptorException without a message.
|
| Modifier and Type | Method and Description |
|---|---|
Interceptor |
getInterceptor()
Gets the interceptor this exception is associated with.
|
private static final long serialVersionUID
private final Interceptor interceptor
public InterceptorException(Interceptor interceptor)
interceptor - the Interceptor causing the failurepublic InterceptorException(Interceptor interceptor, java.lang.String explanation)
interceptor - the Interceptor causing the failureexplanation - String explanation of why the Interceptor failedpublic InterceptorException(Interceptor interceptor, java.lang.Throwable rootCause)
interceptor - the Interceptor causing the failurerootCause - the root cause of this exceptionpublic InterceptorException(Interceptor interceptor, java.lang.String explanation, java.lang.Throwable rootCause)
interceptor - the Interceptor causing the failureexplanation - String explanation of why the Interceptor failedrootCause - the root cause of this exceptionpublic Interceptor getInterceptor()