public class ExceptionHandlerRegistryFactory extends Object
ExceptionHandlerRegistry with the default defaultHandlers| Modifier and Type | Method and Description |
|---|---|
static ExceptionHandlerRegistry<ExitCode> |
create() |
static ExceptionHandlerRegistry<ExitCode> |
create(ExceptionHandler<? extends Throwable,ExitCode>... exceptionHandlers)
Overriding is defined such that the order of the existing handlers are unaltered.
|
@SafeVarargs public static ExceptionHandlerRegistry<ExitCode> create(ExceptionHandler<? extends Throwable,ExitCode>... exceptionHandlers)
exceptionHandlers - the defaultHandlers to override some default handlerExceptionHandlerRegistry with the default defaultHandlers overridden by the
given onespublic static ExceptionHandlerRegistry<ExitCode> create()
ExceptionHandlerRegistry with the default handlers