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 anException
property.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description 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.static interface
ExceptionAccessor.ExceptionMutator<EXC extends Throwable>
Provides a mutator for anException
property.static interface
ExceptionAccessor.ExceptionProperty<EXC extends Throwable>
Provides a anException
property.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EXC
getException()
Retrieves the exception from the exception property.
-
-
-
Method Detail
-
getException
EXC getException()
Retrieves the exception from the exception property.- Returns:
- The exception stored by the exception property.
-
-