Module org.refcodes.exception
Package org.refcodes.exception
Interface ExceptionAccessor<E extends Throwable>
- Type Parameters:
E
- The actual exception type.
- All Known Subinterfaces:
ExceptionAccessor.ExceptionProperty<E>
public interface ExceptionAccessor<E extends Throwable>
Provides an accessor for an
Exception
property.-
Nested Class Summary
Nested Classes Modifier and Type Interface Description 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.static interface
ExceptionAccessor.ExceptionMutator<E>
Provides a mutator for anException
property.static interface
ExceptionAccessor.ExceptionProperty<E extends Throwable>
Provides a anException
property. -
Method Summary
Modifier and Type Method Description E
getException()
Retrieves the exception from the exception property.
-
Method Details
-
getException
E getException()Retrieves the exception from the exception property.- Returns:
- The exception stored by the exception property.
-