org.apache.empire.struts2.action
Interface ExceptionAware

All Known Implementing Classes:
Action, BeanDetailAction, DetailAction, EmployeeDetailAction, EmployeeListAction, LoginAction, SampleAction, WebAction

public interface ExceptionAware


Method Summary
 java.lang.String handleException(java.lang.Throwable exception, java.lang.String method)
          informs the action that an uncaught exception has occurred
 

Method Detail

handleException

java.lang.String handleException(java.lang.Throwable exception,
                                 java.lang.String method)
informs the action that an uncaught exception has occurred

Parameters:
exception - the exception that occurred
Returns:
the target mapping which to execute


Copyright © 2008-2009 Apache Software Foundation. All Rights Reserved.