Package org.agrona
Interface DelegatingErrorHandler
-
- All Superinterfaces:
ErrorHandler
public interface DelegatingErrorHandler extends 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
next(ErrorHandler errorHandler)
Set the nextErrorHandler
to be called in a chain.-
Methods inherited from interface org.agrona.ErrorHandler
onError
-
-
-
-
Method Detail
-
next
void next(ErrorHandler errorHandler)
Set the nextErrorHandler
to be called in a chain.- Parameters:
errorHandler
- the nextErrorHandler
to be called in a chain.
-
-