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

    Modifier and Type
    Method
    Description
    void
    next(ErrorHandler errorHandler)
    Set the next ErrorHandler to be called in a chain.

    Methods inherited from interface org.agrona.ErrorHandler

    onError
  • Method Details