/** * Override the default exception handler for a specific handler. * <pre>disruptorWizard.handleExceptionsIn(eventHandler).with(exceptionHandler);</pre> * * @param eventHandler the event handler to set a different exception handler for. * @return an ExceptionHandlerSetting dsl object - intended to be used by chaining the with method call. */ public ExceptionHandlerSetting<T> handleExceptionsFor(final EventHandler<T> eventHandler) { return new ExceptionHandlerSetting<>(eventHandler, consumerRepository); }
/** * Override the default exception handler for a specific handler. * <pre>disruptorWizard.handleExceptionsIn(eventHandler).with(exceptionHandler);</pre> * * @param eventHandler the event handler to set a different exception handler for. * @return an ExceptionHandlerSetting dsl object - intended to be used by chaining the with method call. */ public ExceptionHandlerSetting<T> handleExceptionsFor(final EventHandler<T> eventHandler) { return new ExceptionHandlerSetting<>(eventHandler, consumerRepository); }
/** * Override the default exception handler for a specific handler. * <pre>disruptorWizard.handleExceptionsIn(eventHandler).with(exceptionHandler);</pre> * * @param eventHandler the event handler to set a different exception handler for. * @return an ExceptionHandlerSetting dsl object - intended to be used by chaining the with method call. */ public ExceptionHandlerSetting<T> handleExceptionsFor(final EventHandler<T> eventHandler) { return new ExceptionHandlerSetting<T>(eventHandler, consumerRepository); }
/** * Override the default exception handler for a specific handler. * <pre>disruptorWizard.handleExceptionsIn(eventHandler).with(exceptionHandler);</pre> * * @param eventHandler the event handler to set a different exception handler for. * @return an ExceptionHandlerSetting dsl object - intended to be used by chaining the with method call. */ public ExceptionHandlerSetting<T> handleExceptionsFor(final EventHandler<T> eventHandler) { return new ExceptionHandlerSetting<>(eventHandler, consumerRepository); }
/** * Override the default exception handler for a specific handler. * <pre>disruptorWizard.handleExceptionsIn(eventHandler).with(exceptionHandler);</pre> * * @param eventHandler the event handler to set a different exception handler for. * @return an ExceptionHandlerSetting dsl object - intended to be used by chaining the with method call. */ public ExceptionHandlerSetting<?> handleExceptionsFor(final EventHandler<T> eventHandler) { return new ExceptionHandlerSetting<T>(eventHandler, consumerRepository); }