public interface ExceptionHandler
Exceptions
Modifier and Type | Method and Description |
---|---|
void |
handle(Incident incident)
Invoked to handle the given exception.
|
void handle(Incident incident) throws Exception
Can be used to get notified about any exception which occurs in the system.
incident
- contains the error description to be processed.Exception
- as this method is already called from within the exception handling system, errors in here
should not be sent there again, but simply be thrown by this methodCallContext.getMDC()
,
Exceptions.handle()
Copyright © 2018. All rights reserved.