Package org.agrona
Interface DelegatingErrorHandler
- All Superinterfaces:
ErrorHandler
ErrorHandler that can insert into a chain of responsibility, so it handles an error and then delegates
on to the next in the chain. This allows for taking action pre, or post, invocation of the next delegate.
Implementations are responsible for calling the next in the chain.
-
Method Summary
Modifier and TypeMethodDescriptionvoidnext(ErrorHandler errorHandler) Set the nextErrorHandlerto be called in a chain.Methods inherited from interface org.agrona.ErrorHandler
onError
-
Method Details
-
next
Set the nextErrorHandlerto be called in a chain.- Parameters:
errorHandler- the nextErrorHandlerto be called in a chain.
-