Interface ExceptionAccessor.ExceptionBuilder<E extends java.lang.Throwable,B extends ExceptionAccessor.ExceptionBuilder<E,B>>

  • Type Parameters:
    E - the element type
    B - The builder to return in order to be able to apply multiple build operations.
    Enclosing interface:
    ExceptionAccessor<E extends java.lang.Throwable>


    public static interface ExceptionAccessor.ExceptionBuilder<E extends java.lang.Throwable,B extends ExceptionAccessor.ExceptionBuilder<E,B>>
    Provides a builder method for a exception property returning the builder for applying multiple build operations.
    • Method Detail

      • withException

        B withException​(E aException)
        Sets the exception for the exception property.
        Parameters:
        aException - The exception to be stored by the exception property.
        Returns:
        The builder for applying multiple build operations.