use of com.tvd12.ezyhttp.server.core.asm.ExceptionHandlersImplementer in project ezyhttp by youngmonkeys.
the class ApplicationContextBuilder method addExceptionHandlers.
protected void addExceptionHandlers() {
List<Object> exceptionHandlerList = exceptionHandlerManager.getExceptionHandlerList();
ExceptionHandlersImplementer implementer = newExceptionHandlersImplementer();
Map<Class<?>, UncaughtExceptionHandler> exceptionHandlers = implementer.implement(exceptionHandlerList);
exceptionHandlerManager.addUncaughtExceptionHandlers(exceptionHandlers);
}
Aggregations