org.apache.camel.impl
Class LoggingExceptionHandler
java.lang.Object
org.apache.camel.impl.LoggingExceptionHandler
- All Implemented Interfaces:
- ExceptionHandler
public class LoggingExceptionHandler
- extends Object
- implements ExceptionHandler
A default implementation of ExceptionHandler
which uses a Logger
to
log to an arbitrary Log
with some LoggingLevel
- Version:
- $Revision: 757367 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggingExceptionHandler
public LoggingExceptionHandler(Class ownerType)
LoggingExceptionHandler
public LoggingExceptionHandler(Logger logger)
handleException
public void handleException(Throwable exception)
- Description copied from interface:
ExceptionHandler
- Handles the given exception
- Specified by:
handleException
in interface ExceptionHandler
- Parameters:
exception
- the exception
isCausedByRollbackExchangeException
protected boolean isCausedByRollbackExchangeException(Throwable exception)
Apache CAMEL