Annotation Interface的使用
cn.taketoday.web.annotation.ExceptionHandler
使用ExceptionHandler的程序包
-
cn.taketoday.web.handler中ExceptionHandler的使用
注释类型为ExceptionHandler的cn.taketoday.web.handler中的方法修饰符和类型方法说明final ResponseEntity<Object>ResponseEntityExceptionHandler.handleException(Exception ex, RequestContext request) Provides handling for standard Framework MVC exceptions.