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