org.onebusaway.api.actions.api
Class ExceptionInterceptor

java.lang.Object
  extended by com.opensymphony.xwork2.interceptor.AbstractInterceptor
      extended by 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

Constructor Summary
ExceptionInterceptor()
           
 
Method Summary
protected  ResponseBean getExceptionAsResponseBean(com.opensymphony.xwork2.ActionInvocation invocation, Exception ex)
           
 String intercept(com.opensymphony.xwork2.ActionInvocation invocation)
           
 void setMimeTypeHandlerSelector(org.apache.struts2.rest.ContentTypeHandlerManager sel)
           
 
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
 

Constructor Detail

ExceptionInterceptor

public ExceptionInterceptor()
Method Detail

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.