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.
Modifier and Type | Method and Description |
---|---|
void |
next(ErrorHandler errorHandler)
Set the next
ErrorHandler to be called in a chain. |
onError
void next(ErrorHandler errorHandler)
ErrorHandler
to be called in a chain.errorHandler
- the next ErrorHandler
to be called in a chain.Copyright © 2014-2021 Real Logic Limited. All Rights Reserved.