Package org.agrona
Interface ErrorHandler
- All Known Subinterfaces:
DelegatingErrorHandler
- All Known Implementing Classes:
CountedErrorHandler
,LoggingErrorHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Callback interface for handling an error/exception that has occurred when processing an operation or event.
-
Method Summary
-
Method Details
-
onError
Callback to notify of an error that has occurred when processing an operation or event.This method is assumed non-throwing, so rethrowing the exception or triggering further exceptions would be a bug.
- Parameters:
throwable
- that occurred while processing an operation or event.
-