Class ExceptionHandlerSetting<T>

  • Type Parameters:
    T - the type of event being handled.

    public class ExceptionHandlerSetting<T>
    extends java.lang.Object
    A support class used as part of setting an exception handler for a specific event handler. For example:
    disruptorWizard.handleExceptionsIn(eventHandler).with(exceptionHandler);
    • Method Detail

      • with

        public void with​(ExceptionHandler<? super T> exceptionHandler)
        Specify the ExceptionHandler to use with the event handler.
        Parameters:
        exceptionHandler - the exception handler to use.