# Uses of Interface
org.springframework.web.servlet.HandlerExceptionResolver

Packages that use HandlerExceptionResolver
Package
Description
org.springframework.web.servlet.config.annotation
Annotation-based setup for Spring MVC.
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 the `org.springframework.web.method.annotation` package.
org.springframework.web.servlet.mvc.support
Support package for MVC controllers.

## Uses of HandlerExceptionResolver in org.springframework.web.servlet.config.annotation

Methods in org.springframework.web.servlet.config.annotation that return HandlerExceptionResolver
Modifier and Type
Method
Description
`HandlerExceptionResolver`
WebMvcConfigurationSupport.`handlerExceptionResolver(org.springframework.web.accept.ContentNegotiationManager contentNegotiationManager)`
Returns a `HandlerExceptionResolverComposite` containing a list of exception resolvers obtained either through `WebMvcConfigurationSupport.configureHandlerExceptionResolvers(java.util.List<org.springframework.web.servlet.HandlerExceptionResolver>)` or through `WebMvcConfigurationSupport.addDefaultHandlerExceptionResolvers(java.util.List<org.springframework.web.servlet.HandlerExceptionResolver>, org.springframework.web.accept.ContentNegotiationManager)`.
Method parameters in org.springframework.web.servlet.config.annotation with type arguments of type HandlerExceptionResolver
Modifier and Type
Method
Description
`protected final void`
WebMvcConfigurationSupport.`addDefaultHandlerExceptionResolvers(List<HandlerExceptionResolver> exceptionResolvers, org.springframework.web.accept.ContentNegotiationManager mvcContentNegotiationManager)`
A method available to subclasses for adding default `HandlerExceptionResolvers`.
`protected void`
DelegatingWebMvcConfiguration.`configureHandlerExceptionResolvers(List<HandlerExceptionResolver> exceptionResolvers)`
`protected void`
WebMvcConfigurationSupport.`configureHandlerExceptionResolvers(List<HandlerExceptionResolver> exceptionResolvers)`
Override this method to configure the list of `HandlerExceptionResolvers` to use.
`default void`
WebMvcConfigurer.`configureHandlerExceptionResolvers(List<HandlerExceptionResolver> resolvers)`
Configure exception resolvers.
`protected void`
DelegatingWebMvcConfiguration.`extendHandlerExceptionResolvers(List<HandlerExceptionResolver> exceptionResolvers)`
`protected void`
WebMvcConfigurationSupport.`extendHandlerExceptionResolvers(List<HandlerExceptionResolver> exceptionResolvers)`
Override this method to extend or modify the list of `HandlerExceptionResolvers` after it has been configured.
`default void`
WebMvcConfigurer.`extendHandlerExceptionResolvers(List<HandlerExceptionResolver> resolvers)`
Extending or modify the list of exception resolvers configured by default.

## Uses of HandlerExceptionResolver in org.springframework.web.servlet.handler

Classes in org.springframework.web.servlet.handler that implement HandlerExceptionResolver
Modifier and Type
Class
Description
`class`
`AbstractHandlerExceptionResolver`
Abstract base class for `HandlerExceptionResolver` implementations.
`class`
`AbstractHandlerMethodExceptionResolver`
Abstract base class for `HandlerExceptionResolver` implementations that support handling exceptions from handlers of type `HandlerMethod`.
`class`
`HandlerExceptionResolverComposite`
A `HandlerExceptionResolver` that delegates to a list of other `HandlerExceptionResolvers`.
`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.
Methods in org.springframework.web.servlet.handler that return types with arguments of type HandlerExceptionResolver
Modifier and Type
Method
Description
`List<HandlerExceptionResolver>`
HandlerExceptionResolverComposite.`getExceptionResolvers()`
Return the list of exception resolvers to delegate to.
Method parameters in org.springframework.web.servlet.handler with type arguments of type HandlerExceptionResolver
Modifier and Type
Method
Description
`void`
HandlerExceptionResolverComposite.`setExceptionResolvers(List<HandlerExceptionResolver> exceptionResolvers)`
Set the list of exception resolvers to delegate to.

## Uses of HandlerExceptionResolver in org.springframework.web.servlet.mvc.annotation

Classes in org.springframework.web.servlet.mvc.annotation that implement HandlerExceptionResolver
Modifier and Type
Class
Description
`class`
`ResponseStatusExceptionResolver`
A `HandlerExceptionResolver` that uses the `@ResponseStatus` annotation to map exceptions to HTTP status codes.

## Uses of HandlerExceptionResolver in org.springframework.web.servlet.mvc.method.annotation

Classes in org.springframework.web.servlet.mvc.method.annotation that implement HandlerExceptionResolver
Modifier and Type
Class
Description
`class`
`ExceptionHandlerExceptionResolver`
An `AbstractHandlerMethodExceptionResolver` that resolves exceptions through `@ExceptionHandler` methods.

## Uses of HandlerExceptionResolver in org.springframework.web.servlet.mvc.support

Classes in org.springframework.web.servlet.mvc.support that implement HandlerExceptionResolver
Modifier and Type
Class
Description
`class`
`DefaultHandlerExceptionResolver`
The default implementation of the `HandlerExceptionResolver` interface, resolving standard Spring MVC exceptions and translating them to corresponding HTTP status codes.