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 TypeMethodDescriptionvoid
next
(ErrorHandler errorHandler) Set the nextErrorHandler
to be called in a chain.Methods inherited from interface org.agrona.ErrorHandler
onError
-
Method Details
-
next
Set the nextErrorHandler
to be called in a chain.- Parameters:
errorHandler
- the nextErrorHandler
to be called in a chain.
-