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 anExceptionHandler
property.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static 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
ExceptionHandlerAccessor.ExceptionHandlerMutator<EXC extends Throwable>
Provides a mutator for anExceptionHandler
property.static interface
ExceptionHandlerAccessor.ExceptionHandlerProperty<EXC extends Throwable>
Provides a anExceptionHandler
property.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExceptionHandler<EXC>
getExceptionHandler()
Retrieves the exception handler from the exception handler property.
-
-
-
Method Detail
-
getExceptionHandler
ExceptionHandler<EXC> getExceptionHandler()
Retrieves the exception handler from the exception handler property.- Returns:
- The exception handler stored by the exception handler property.
-
-