|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExceptionHandler
A Strategy pattern for handling exceptions; particularly in asynchronous processes such as consumers
Its important to not throw any exceptions when handling exceptions as they handler is often invoked in a try .. catch logic already
Method Summary | |
---|---|
void |
handleException(java.lang.String message,
Exchange exchange,
java.lang.Throwable exception)
Handles the given exception |
void |
handleException(java.lang.String message,
java.lang.Throwable exception)
Handles the given exception |
void |
handleException(java.lang.Throwable exception)
Handles the given exception |
Method Detail |
---|
void handleException(java.lang.Throwable exception)
exception
- the exceptionvoid handleException(java.lang.String message, java.lang.Throwable exception)
message
- additional messageexception
- the exceptionvoid handleException(java.lang.String message, Exchange exchange, java.lang.Throwable exception)
message
- additional messageexchange
- exchange which cause the exceptionexception
- the exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |