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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceExceptionAccessor.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 interfaceProvides a mutator for anExceptionproperty.static interfaceProvides a anExceptionproperty. -
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.
-