Uses of Interface
org.springframework.web.ErrorResponse
Packages that use ErrorResponse
Package
Description
Common, generic interfaces that define minimal boundary points
between Spring's web infrastructure and other framework modules.
Provides web-specific data binding functionality.
Support classes for web data binding.
Support for asynchronous request processing.
Support classes for the multipart resolution framework.
Core interfaces and classes for Spring's generic, reactive web support.
Provides servlets that integrate with the application context
infrastructure, and the core interfaces and classes for the
Spring web MVC framework.
Support package for MVC controllers.
-
Uses of ErrorResponse in org.springframework.web
Classes in org.springframework.web that implement ErrorResponseModifier and TypeClassDescriptionclass
RuntimeException
that implementsErrorResponse
to expose an HTTP status, response headers, and a body formatted as an RFC 7807ProblemDetail
.class
Abstract base for exceptions related to media types.class
Exception thrown when the request handler cannot generate a response that is acceptable by the client.class
Exception thrown when a client POSTs, PUTs, or PATCHes content of a type not supported by request handler.class
Exception thrown when a request handler does not support a specific request method. -
Uses of ErrorResponse in org.springframework.web.bind
Classes in org.springframework.web.bind that implement ErrorResponseModifier and TypeClassDescriptionclass
Exception to be thrown when validation on an argument annotated with@Valid
fails.class
ServletRequestBindingException
subclass that indicates that a matrix variable expected in the method parameters of an@RequestMapping
method is not present among the matrix variables extracted from the URL.class
ServletRequestBindingException
subclass that indicates that a path variable expected in the method parameters of an@RequestMapping
method is not present among the URI variables extracted from the URL.class
ServletRequestBindingException
subclass that indicates that a request cookie expected in the method parameters of an@RequestMapping
method is not present.class
ServletRequestBindingException
subclass that indicates that a request header expected in the method parameters of an@RequestMapping
method is not present.class
Base class forServletRequestBindingException
exceptions that could not bind because the request value is required but is either missing or otherwise resolves tonull
after conversion.class
ServletRequestBindingException
subclass that indicates a missing parameter.class
Fatal binding exception, thrown when we want to treat binding exceptions as unrecoverable.class
ServletRequestBindingException
subclass that indicates an unsatisfied parameter condition, as typically expressed using an@RequestMapping
annotation at the@Controller
type level. -
Uses of ErrorResponse in org.springframework.web.bind.support
Classes in org.springframework.web.bind.support that implement ErrorResponseModifier and TypeClassDescriptionclass
ServerWebInputException
subclass that indicates a data binding or validation failure. -
Uses of ErrorResponse in org.springframework.web.context.request.async
Classes in org.springframework.web.context.request.async that implement ErrorResponseModifier and TypeClassDescriptionclass
Exception to be thrown when an async request times out. -
Uses of ErrorResponse in org.springframework.web.multipart.support
Classes in org.springframework.web.multipart.support that implement ErrorResponseModifier and TypeClassDescriptionclass
Signals the part of a "multipart/form-data" request, identified by name could not be found. -
Uses of ErrorResponse in org.springframework.web.server
Classes in org.springframework.web.server that implement ErrorResponseModifier and TypeClassDescriptionclass
Exception for errors that fit response status 405 (method not allowed).class
ServerWebInputException
subclass that indicates a missing request value such as a request header, cookie value, query parameter, etc.class
Exception for errors that fit response status 406 (not acceptable).class
Subclass ofErrorResponseException
that accepts a "reason" and maps it to the "detail" property ofProblemDetail
.class
Exception for anHttpStatus.INTERNAL_SERVER_ERROR
that exposes extra information about a controller method that failed, or a controller method argument that could not be resolved.class
Exception for errors that fit response status 400 (bad request) for use in Spring Web applications.class
ServerWebInputException
subclass that indicates an unsatisfied parameter condition, as typically expressed using an@RequestMapping
annotation at the@Controller
type level.class
Exception for errors that fit response status 415 (unsupported media type). -
Uses of ErrorResponse in org.springframework.web.servlet
Classes in org.springframework.web.servlet that implement ErrorResponseModifier and TypeClassDescriptionclass
By default, when the DispatcherServlet can't find a handler for a request it sends a 404 response. -
Uses of ErrorResponse in org.springframework.web.servlet.mvc.support
Methods in org.springframework.web.servlet.mvc.support with parameters of type ErrorResponseModifier and TypeMethodDescriptionprotected ModelAndView
DefaultHandlerExceptionResolver.handleErrorResponse
(ErrorResponse errorResponse, HttpServletRequest request, HttpServletResponse response, Object handler) Handle anErrorResponse
exception.