Package io.jmix.samples.rest.controller
Class CustomHttpClientErrorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.web.client.RestClientException
org.springframework.web.client.RestClientResponseException
org.springframework.web.client.HttpStatusCodeException
org.springframework.web.client.HttpClientErrorException
io.jmix.samples.rest.controller.CustomHttpClientErrorException
- All Implemented Interfaces:
Serializable
public class CustomHttpClientErrorException
extends org.springframework.web.client.HttpClientErrorException
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.web.client.HttpClientErrorException
org.springframework.web.client.HttpClientErrorException.BadRequest, org.springframework.web.client.HttpClientErrorException.Conflict, org.springframework.web.client.HttpClientErrorException.Forbidden, org.springframework.web.client.HttpClientErrorException.Gone, org.springframework.web.client.HttpClientErrorException.MethodNotAllowed, org.springframework.web.client.HttpClientErrorException.NotAcceptable, org.springframework.web.client.HttpClientErrorException.NotFound, org.springframework.web.client.HttpClientErrorException.TooManyRequests, org.springframework.web.client.HttpClientErrorException.Unauthorized, org.springframework.web.client.HttpClientErrorException.UnprocessableEntity, org.springframework.web.client.HttpClientErrorException.UnsupportedMediaType
-
Constructor Summary
ConstructorDescriptionCustomHttpClientErrorException
(org.springframework.http.HttpStatus statusCode, String statusText) -
Method Summary
Methods inherited from class org.springframework.web.client.HttpClientErrorException
create, create
Methods inherited from class org.springframework.web.client.RestClientResponseException
getRawStatusCode, getResponseBodyAs, getResponseBodyAs, getResponseBodyAsByteArray, getResponseBodyAsString, getResponseBodyAsString, getResponseHeaders, getStatusCode, getStatusText, setBodyConvertFunction
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CustomHttpClientErrorException
public CustomHttpClientErrorException(org.springframework.http.HttpStatus statusCode, String statusText)
-