E
- the element typeExceptionAccessor<E>
, ExceptionAccessor.ExceptionMutator<E>
public static interface ExceptionAccessor.ExceptionProperty<E extends Throwable> extends ExceptionAccessor<E>, ExceptionAccessor.ExceptionMutator<E>
Exception
property.ExceptionAccessor.ExceptionBuilder<E extends Throwable,B extends ExceptionAccessor.ExceptionBuilder<E,B>>, ExceptionAccessor.ExceptionMutator<E>, ExceptionAccessor.ExceptionProperty<E extends Throwable>
Modifier and Type | Method | Description |
---|---|---|
default E |
letException(E aException) |
This method stores and passes through the given argument, which is
very useful for builder APIs: Sets the given
Exception
(setter) as of ExceptionAccessor.ExceptionMutator.setException(Object) and returns the very
same value (getter). |
getException
setException
default E letException(E aException)
Exception
(setter) as of ExceptionAccessor.ExceptionMutator.setException(Object)
and returns the very
same value (getter).aException
- The Exception
to set (via
ExceptionAccessor.ExceptionMutator.setException(Object)
).Copyright © 2021. All rights reserved.