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

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

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

Subclasses of HttpStatusCodeException in org.springframework.web.client
Modifier and Type
Class
Description
`class`
`HttpClientErrorException`
Exception thrown when an HTTP 4xx is received.
`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.
`class`
`HttpServerErrorException`
Exception thrown when an HTTP 5xx is received.
`static final class`
`HttpServerErrorException.BadGateway`
`HttpServerErrorException` for HTTP status 502 Bad Gateway.
`static final class`
`HttpServerErrorException.GatewayTimeout`
`HttpServerErrorException` for status HTTP 504 Gateway Timeout.
`static final class`
`HttpServerErrorException.InternalServerError`
`HttpServerErrorException` for status HTTP 500 Internal Server Error.
`static final class`
`HttpServerErrorException.NotImplemented`
`HttpServerErrorException` for status HTTP 501 Not Implemented.
`static final class`
`HttpServerErrorException.ServiceUnavailable`
`HttpServerErrorException` for status HTTP 503 Service Unavailable.