Interface ExceptionAccessor.ExceptionBuilder<E extends 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 Throwable>

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

    Modifier and Type Method Description
    B withException​(E aException)
    Sets the exception for the exception property.
  • Method Details

    • 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.