public interface ExceptionHandler
Modifier and Type | Method and Description |
---|---|
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
|
void handleException(Throwable exception)
exception
- the exceptionvoid handleException(String message, Throwable exception)
message
- additional messageexception
- the exceptionvoid handleException(String message, Exchange exchange, Throwable exception)
message
- additional messageexchange
- exchange which cause the exceptionexception
- the exceptionApache Camel