| |
|
| java.lang.Object org.ow2.easybeans.tests.common.interceptors.business.RollbackAppRuntimeExcepInterceptor
RollbackAppRuntimeExcepInterceptor | public class RollbackAppRuntimeExcepInterceptor (Code) | | Used to change the SQLException to a application exception that extends a RuntimeException and causes a rollback.
author: Gisele Pinheiro Souza author: Eduardo Studzinski Estima de Castro |
Method Summary | |
public Object | changeMethodException(InvocationContext invocationContext) Changes the SQLException to a application exception that extends a RuntimeException and causes a rollback. |
changeMethodException | public Object changeMethodException(InvocationContext invocationContext) throws Exception(Code) | | Changes the SQLException to a application exception that extends a RuntimeException and causes a rollback.
Parameters: invocationContext - contains attributes of invocation the method's intercepted result. throws: Exception - if an error occurs. |
|
|
|