# Uses of Class
org.springframework.web.client.HttpClientErrorException

Packages that use HttpClientErrorException
Package
Description
org.springframework.web.client
Core package of the client-side web support.

## Uses of HttpClientErrorException in org.springframework.web.client

Subclasses of HttpClientErrorException in org.springframework.web.client
Modifier and Type
Class
Description
`static final class`
`HttpClientErrorException.BadRequest`
`HttpClientErrorException` for status HTTP 400 Bad Request.
`static final class`
`HttpClientErrorException.Conflict`
`HttpClientErrorException` for status HTTP 409 Conflict.
`static final class`
`HttpClientErrorException.Forbidden`
`HttpClientErrorException` for status HTTP 403 Forbidden.
`static final class`
`HttpClientErrorException.Gone`
`HttpClientErrorException` for status HTTP 410 Gone.
`static final class`
`HttpClientErrorException.MethodNotAllowed`
`HttpClientErrorException` for status HTTP 405 Method Not Allowed.
`static final class`
`HttpClientErrorException.NotAcceptable`
`HttpClientErrorException` for status HTTP 406 Not Acceptable.
`static final class`
`HttpClientErrorException.NotFound`
`HttpClientErrorException` for status HTTP 404 Not Found.
`static final class`
`HttpClientErrorException.TooManyRequests`
`HttpClientErrorException` for status HTTP 429 Too Many Requests.
`static final class`
`HttpClientErrorException.Unauthorized`
`HttpClientErrorException` for status HTTP 401 Unauthorized.
`static final class`
`HttpClientErrorException.UnprocessableEntity`
`HttpClientErrorException` for status HTTP 422 Unprocessable Entity.
`static final class`
`HttpClientErrorException.UnsupportedMediaType`
`HttpClientErrorException` for status HTTP 415 Unsupported Media Type.
Methods in org.springframework.web.client that return HttpClientErrorException
Modifier and Type
Method
Description
`static HttpClientErrorException`
HttpClientErrorException.`create(String message, HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset charset)`
Variant of `create(HttpStatusCode, String, HttpHeaders, byte[], Charset)` with an optional prepared message.
`static HttpClientErrorException`
HttpClientErrorException.`create(HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset charset)`
Create `HttpClientErrorException` or an HTTP status specific subclass.