Package com.nomagic.utils
Interface ErrorHandler<T extends Exception>
- Type Parameters:
T
- type of exception
General purpose exception handler. Handler is used in components which has no ability to decide how to handle errors.
Handler may ignore, log exception or re throw it or do anything else.
-
Method Summary
-
Method Details
-
error
Handles exception.- Parameters:
e
- occurred exception.- Throws:
T
- in case this handler does not handles error.
-