public class InterceptorException extends NamingException
NamingException
that wraps uncaught runtime exceptions thrown
from Interceptor
s.remainingName, resolvedName, resolvedObj, rootException
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.
|
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toString
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public 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 © 2003-2012 Apache Software Foundation. All Rights Reserved.