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