use of com.tvd12.ezyhttp.server.boot.test.controller.GlobalExceptionHandler in project ezyhttp by youngmonkeys.
the class ExceptionHandlerImplementerTest method test.
@Test
public void test() {
ExceptionHandlerImplementer.setDebug(true);
ExceptionHandlerProxy exceptionHandler = new ExceptionHandlerProxy(new GlobalExceptionHandler());
for (ExceptionHandlerMethod method : exceptionHandler.getExceptionHandlerMethods()) {
ExceptionHandlerImplementer implementer = new ExceptionHandlerImplementer(exceptionHandler, method);
implementer.implement();
}
}
use of com.tvd12.ezyhttp.server.boot.test.controller.GlobalExceptionHandler in project ezyhttp by youngmonkeys.
the class ExceptionHandlerImplementerTest method test.
@Test
public void test() {
ExceptionHandlerImplementer.setDebug(true);
ExceptionHandlerProxy exceptionHandler = new ExceptionHandlerProxy(new GlobalExceptionHandler());
for (ExceptionHandlerMethod method : exceptionHandler.getExceptionHandlerMethods()) {
ExceptionHandlerImplementer implementer = new ExceptionHandlerImplementer(exceptionHandler, method);
implementer.implement();
}
}
use of com.tvd12.ezyhttp.server.boot.test.controller.GlobalExceptionHandler in project ezyhttp by youngmonkeys.
the class ExceptionHandlerImplementerTest method test.
@Test
public void test() {
ExceptionHandlerImplementer.setDebug(true);
ExceptionHandlerProxy exceptionHandler = new ExceptionHandlerProxy(new GlobalExceptionHandler());
for (ExceptionHandlerMethod method : exceptionHandler.getExceptionHandlerMethods()) {
ExceptionHandlerImplementer implementer = new ExceptionHandlerImplementer(exceptionHandler, method);
implementer.implement();
}
}
Aggregations