|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.impl.LoggingExceptionHandler
public class LoggingExceptionHandler
A default implementation of ExceptionHandler which uses a CamelLogger to
log the exception.
| Constructor Summary | |
|---|---|
LoggingExceptionHandler(CamelLogger logger)
|
|
LoggingExceptionHandler(Class<?> ownerType)
|
|
LoggingExceptionHandler(Class<?> ownerType,
LoggingLevel level)
|
|
| Method Summary | |
|---|---|
void |
handleException(String message,
Exchange exchange,
Throwable exception)
Handles the given exception |
void |
handleException(String message,
Throwable exception)
Handles the given exception |
void |
handleException(Throwable exception)
Handles the given exception |
protected boolean |
isCausedByRollbackExchangeException(Throwable exception)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LoggingExceptionHandler(Class<?> ownerType)
public LoggingExceptionHandler(Class<?> ownerType,
LoggingLevel level)
public LoggingExceptionHandler(CamelLogger logger)
| Method Detail |
|---|
public void handleException(Throwable exception)
ExceptionHandler
handleException in interface ExceptionHandlerexception - the exception
public void handleException(String message,
Throwable exception)
ExceptionHandler
handleException in interface ExceptionHandlermessage - additional messageexception - the exception
public void handleException(String message,
Exchange exchange,
Throwable exception)
ExceptionHandler
handleException in interface ExceptionHandlermessage - additional messageexchange - exchange which cause the exceptionexception - the exceptionprotected boolean isCausedByRollbackExchangeException(Throwable exception)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||