Interface ExceptionHandlerAccessor.ExceptionHandlerBuilder<EXC extends Throwable,​B extends ExceptionHandlerAccessor.ExceptionHandlerBuilder<EXC,​B>>

  • Type Parameters:
    EXC - The Exception being handled by the ExceptionHandler.
    B - The builder to return in order to be able to apply multiple build operations.
    Enclosing interface:
    ExceptionHandlerAccessor<EXC extends Throwable>

    public static interface ExceptionHandlerAccessor.ExceptionHandlerBuilder<EXC extends Throwable,​B extends ExceptionHandlerAccessor.ExceptionHandlerBuilder<EXC,​B>>
    Provides a builder method for a exception handler property returning the builder for applying multiple build operations.
    • Method Detail

      • withExceptionHandler

        B withExceptionHandler​(ExceptionHandler<EXC> aExceptionHandler)
        Sets the exception handler for the exception handler property.
        Parameters:
        aExceptionHandler - The exception handler to be stored by the exception handler property.
        Returns:
        The builder for applying multiple build operations.