ch.elca.el4j.services.exceptionhandler.handler
Class RethrowExceptionHandler
java.lang.Object
ch.elca.el4j.services.exceptionhandler.handler.RethrowExceptionHandler
- All Implemented Interfaces:
- ExceptionHandler
public class RethrowExceptionHandler
- extends Object
- implements ExceptionHandler
This exception handler simply forwards all exceptions.
- Author:
- Andreas Bur (ABU)
- File-location:
- RethrowExceptionHandler
- Last check-in date:
- 2009-08-04 15:35:01 +0200 (Di, 04. Aug 2009) by swismer for revision 3883
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RethrowExceptionHandler
public RethrowExceptionHandler()
handleException
public Object handleException(Throwable t,
AbstractExceptionHandlerInterceptor exceptionInvoker,
org.aopalliance.intercept.MethodInvocation invocation)
throws Throwable
- Handles the given exception that occurred in the invocation of the
given
MethodInvocation
.
- Specified by:
handleException
in interface ExceptionHandler
- Parameters:
t
- The throwable to handle.exceptionInvoker
- The exception invoker that called this exception handler.invocation
- The invocation which has resulted in the given throwable.
- Returns:
- Returns an object that is treated as the original invocation's
return value.
- Throws:
RetryException
- Signals that the complete invocation has to be rerun.
Throwable
- Any exception thrown by the handler.
Copyright © 2005-2011 ELCA. All Rights Reserved.