Module org.refcodes.exception
Package org.refcodes.exception
Interface ExceptionAccessor.ExceptionBuilder<EXC extends Throwable,B extends ExceptionAccessor.ExceptionBuilder<EXC,B>>
- Type Parameters:
EXC
- The actual exception type.B
- The builder to return in order to be able to apply multiple build operations.
- Enclosing interface:
- ExceptionAccessor<EXC extends Throwable>
public static interface ExceptionAccessor.ExceptionBuilder<EXC extends Throwable,B extends ExceptionAccessor.ExceptionBuilder<EXC,B>>
Provides a builder method for a exception property returning the builder
for applying multiple build operations.
-
Method Summary
Modifier and TypeMethodDescriptionwithException
(EXC aException) Sets the exception for the exception property.
-
Method Details
-
withException
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.
-