org.onebusaway.api.actions.api
Class ExceptionInterceptor
java.lang.Object
com.opensymphony.xwork2.interceptor.AbstractInterceptor
org.onebusaway.api.actions.api.ExceptionInterceptor
- All Implemented Interfaces:
- com.opensymphony.xwork2.interceptor.Interceptor, Serializable
public class ExceptionInterceptor
- extends com.opensymphony.xwork2.interceptor.AbstractInterceptor
- See Also:
- Serialized Form
Methods inherited from class com.opensymphony.xwork2.interceptor.AbstractInterceptor |
destroy, init |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExceptionInterceptor
public ExceptionInterceptor()
setMimeTypeHandlerSelector
public void setMimeTypeHandlerSelector(org.apache.struts2.rest.ContentTypeHandlerManager sel)
intercept
public String intercept(com.opensymphony.xwork2.ActionInvocation invocation)
throws Exception
- Specified by:
intercept
in interface com.opensymphony.xwork2.interceptor.Interceptor
- Specified by:
intercept
in class com.opensymphony.xwork2.interceptor.AbstractInterceptor
- Throws:
Exception
getExceptionAsResponseBean
protected ResponseBean getExceptionAsResponseBean(com.opensymphony.xwork2.ActionInvocation invocation,
Exception ex)
Copyright © 2012 OneBusAway. All Rights Reserved.