ch.elca.el4j.services.exceptionhandler
Interface ExceptionConfiguration
- All Known Implementing Classes:
- ClassExceptionConfiguration, MethodNameExceptionConfiguration
public interface ExceptionConfiguration
The exception configuration is used to determine, whether a exception handler
is able to handle a given exception that was thrown in a given method
invocation.
- Author:
- Andreas Bur (ABU)
- File-location:
- ExceptionConfiguration
- Last check-in date:
- 2009-08-04 14:35:53 +0200 (Di, 04. Aug 2009) by swismer for revision 3875
handlesExceptions
boolean handlesExceptions(Throwable t,
org.aopalliance.intercept.MethodInvocation invocation)
- Requests whether this exception configuration is able to handle the
given exception that was thrown in the given method invocation.
- Parameters:
t
- The exception to handle.invocation
- The invocation in which the exception was thrown.
- Returns:
- Returns
true
if this exception configuratin is able
to handle the exception, false
otherwise.
getExceptionHandler
ExceptionHandler getExceptionHandler()
- Returns:
- Returns the exception handler.
Copyright © 2005-2011 ELCA. All Rights Reserved.