Uses of Class
org.springframework.web.ErrorResponseException
Package
Description
Support classes for web data binding.
Support classes for annotation-based handler method processing.
Support classes for serving static resources.
Infrastructure for annotation-based handler method processing.
Core interfaces and classes for Spring's generic, reactive web support.
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation
package.-
Uses of ErrorResponseException in org.springframework.web.bind.support
Modifier and TypeClassDescriptionclass
ServerWebInputException
subclass that indicates a data binding or validation failure. -
Uses of ErrorResponseException in org.springframework.web.method.annotation
Modifier and TypeClassDescriptionclass
ResponseStatusException
that is alsoMethodValidationResult
. -
Uses of ErrorResponseException in org.springframework.web.reactive.resource
Modifier and TypeClassDescriptionclass
Raised whenResourceWebHandler
is mapped to the request but can not find a matching resource. -
Uses of ErrorResponseException in org.springframework.web.reactive.result.method.annotation
Modifier and TypeMethodDescriptionprotected reactor.core.publisher.Mono<ResponseEntity<Object>>
ResponseEntityExceptionHandler.handleErrorResponseException
(ErrorResponseException ex, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) Customize the handling of anyErrorResponseException
. -
Uses of ErrorResponseException in org.springframework.web.server
Modifier 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 by default maps that to the"detail"
of theProblemDetail
.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 ErrorResponseException in org.springframework.web.servlet.mvc.method.annotation
Modifier and TypeMethodDescriptionprotected ResponseEntity<Object>
ResponseEntityExceptionHandler.handleErrorResponseException
(ErrorResponseException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling of anyErrorResponseException
.