ch.elca.el4j.services.exceptionhandler.handler
Interface ExceptionHandler
- All Known Implementing Classes:
- AbstractExceptionHandler, AbstractExceptionTransformerExceptionHandler, AbstractReconfigureExceptionHandler, AbstractRetryExceptionHandler, AbstractSwappableTargetExceptionHandler, RethrowExceptionHandler, RetryExceptionHandler, RoundRobinSwappableTargetExceptionHandler, SequenceExceptionHandler, SimpleExceptionTransformerExceptionHandler, SimpleLogExceptionHandler
public interface ExceptionHandler
An exception handler is a expert for handling some kind of exceptions.
- Author:
- Andreas Bur (ABU)
- File-location:
- ExceptionHandler
- Last check-in date:
- 2009-08-04 14:35:53 +0200 (Di, 04. Aug 2009) by swismer for revision 3875
handleException
Object handleException(Throwable t,
AbstractExceptionHandlerInterceptor exceptionInvoker,
org.aopalliance.intercept.MethodInvocation invocation)
throws RetryException,
Throwable
- Handles the given exception that occurred in the invocation of the
given
MethodInvocation
.
- 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.