@Intercepts public class ExceptionHandlerInterceptor extends java.lang.Object implements Interceptor
This class is a part of Exception Handling Feature.
ExceptionRecorder,
ExceptionRecorderParameter,
ExceptionMapper,
DefaultExceptionMapper| Constructor and Description |
|---|
ExceptionHandlerInterceptor(ExceptionMapper exceptions,
Result result) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(ResourceMethod method) |
void |
intercept(InterceptorStack stack,
ResourceMethod method,
java.lang.Object resourceInstance) |
protected boolean |
replay(java.lang.Exception e) |
protected void |
reportException(java.lang.Exception e) |
public ExceptionHandlerInterceptor(ExceptionMapper exceptions, Result result)
public boolean accepts(ResourceMethod method)
accepts in interface Interceptorpublic void intercept(InterceptorStack stack, ResourceMethod method, java.lang.Object resourceInstance) throws InterceptionException
intercept in interface InterceptorInterceptionExceptionprotected void reportException(java.lang.Exception e)
protected boolean replay(java.lang.Exception e)
Copyright © 2013 Caelum. All Rights Reserved.