类的使用
org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver
使用AbstractHandlerExceptionResolver的程序包 程序包 说明 org.springframework.web.servlet.handler Provides standard HandlerMapping implementations, including abstract base classes for custom implementations.org.springframework.web.servlet.mvc.annotation Support package for annotation-based Servlet MVC controllers.org.springframework.web.servlet.mvc.method.annotation MVC infrastructure for annotation-based handler method processing, building on theorg.springframework.web.method.annotation
package.org.springframework.web.servlet.mvc.support Support package for MVC controllers.org.springframework.web.servlet.handler中AbstractHandlerExceptionResolver的使用
org.springframework.web.servlet.handler中AbstractHandlerExceptionResolver的子类 修饰符和类型 类 说明 class
AbstractHandlerMethodExceptionResolver
Abstract base class forHandlerExceptionResolver
implementations that support handling exceptions from handlers of typeHandlerMethod
.class
SimpleMappingExceptionResolver
HandlerExceptionResolver
implementation that allows for mapping exception class names to view names, either for a set of given handlers or for all handlers in the DispatcherServlet.org.springframework.web.servlet.mvc.annotation中AbstractHandlerExceptionResolver的使用
org.springframework.web.servlet.mvc.annotation中AbstractHandlerExceptionResolver的子类 修饰符和类型 类 说明 class
ResponseStatusExceptionResolver
AHandlerExceptionResolver
that uses the@ResponseStatus
annotation to map exceptions to HTTP status codes.org.springframework.web.servlet.mvc.method.annotation中AbstractHandlerExceptionResolver的使用
org.springframework.web.servlet.mvc.method.annotation中AbstractHandlerExceptionResolver的子类 修饰符和类型 类 说明 class
ExceptionHandlerExceptionResolver
AnAbstractHandlerMethodExceptionResolver
that resolves exceptions through@ExceptionHandler
methods.org.springframework.web.servlet.mvc.support中AbstractHandlerExceptionResolver的使用
org.springframework.web.servlet.mvc.support中AbstractHandlerExceptionResolver的子类 修饰符和类型 类 说明 class
DefaultHandlerExceptionResolver
The default implementation of theHandlerExceptionResolver
interface, resolving standard Spring MVC exceptions and translating them to corresponding HTTP status codes.