public class InterceptorException
extends org.apache.directory.api.ldap.model.exception.LdapException
LdapException that wraps uncaught runtime exceptions thrown
from Interceptors.| Constructor and Description |
|---|
InterceptorException(Interceptor interceptor)
Creates an InterceptorException without a message.
|
InterceptorException(Interceptor interceptor,
String explanation)
Creates an InterceptorException with a custom message.
|
InterceptorException(Interceptor interceptor,
String explanation,
Throwable rootCause)
Creates an InterceptorException without a message.
|
InterceptorException(Interceptor interceptor,
Throwable rootCause)
Creates an InterceptorException without a message.
|
| Modifier and Type | Method and Description |
|---|---|
Interceptor |
getInterceptor()
Gets the interceptor this exception is associated with.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InterceptorException(Interceptor interceptor)
interceptor - the Interceptor causing the failurepublic InterceptorException(Interceptor interceptor, String explanation)
interceptor - the Interceptor causing the failureexplanation - String explanation of why the Interceptor failedpublic InterceptorException(Interceptor interceptor, Throwable rootCause)
interceptor - the Interceptor causing the failurerootCause - the root cause of this exceptionpublic InterceptorException(Interceptor interceptor, String explanation, Throwable rootCause)
interceptor - the Interceptor causing the failureexplanation - String explanation of why the Interceptor failedrootCause - the root cause of this exceptionpublic Interceptor getInterceptor()
Copyright © 2021. All rights reserved.