Module org.refcodes.exception
Package org.refcodes.exception
Interface ExceptionHandlerAccessor<EXC extends Throwable>
- Type Parameters:
EXC
- TheException
being handled by theExceptionHandler
.
- All Known Subinterfaces:
ExceptionHandlerAccessor.ExceptionHandlerProperty<EXC>
public interface ExceptionHandlerAccessor<EXC extends Throwable>
Provides an accessor for an
ExceptionHandler
property.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
ExceptionHandlerAccessor.ExceptionHandlerBuilder<EXC extends Throwable,
B extends ExceptionHandlerAccessor.ExceptionHandlerBuilder<EXC, B>> Provides a builder method for a exception handler property returning the builder for applying multiple build operations.static interface
Provides a mutator for anExceptionHandler
property.static interface
Provides a anExceptionHandler
property. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the exception handler from the exception handler property.
-
Method Details
-
getExceptionHandler
ExceptionHandler<EXC> getExceptionHandler()Retrieves the exception handler from the exception handler property.- Returns:
- The exception handler stored by the exception handler property.
-