@Intercepts @RequestScoped public class ExceptionHandlerInterceptor extends Object implements Interceptor
This class is a part of Exception Handling Feature.
| Modifier | Constructor and Description | 
|---|---|
protected  | 
ExceptionHandlerInterceptor()
Deprecated. 
 
CDI eyes only 
 | 
  | 
ExceptionHandlerInterceptor(ExceptionMapper exceptions,
                           Result result)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
accepts(ControllerMethod method)  | 
void | 
intercept(InterceptorStack stack,
         ControllerMethod method,
         Object controllerInstance)  | 
protected boolean | 
replay(Exception e)  | 
protected void | 
reportException(Exception e)  | 
protected ExceptionHandlerInterceptor()
@Inject public ExceptionHandlerInterceptor(ExceptionMapper exceptions, Result result)
public boolean accepts(ControllerMethod method)
accepts in interface Interceptorpublic void intercept(InterceptorStack stack, ControllerMethod method, Object controllerInstance) throws InterceptionException
intercept in interface InterceptorInterceptionExceptionprotected void reportException(Exception e)
protected boolean replay(Exception e)
Copyright © 2014 Caelum. All rights reserved.