Package org.citrusframework.http.client
Class HttpErrorPropagatingException
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
org.citrusframework.http.client.HttpErrorPropagatingException
- All Implemented Interfaces:
Serializable
public class HttpErrorPropagatingException
extends org.springframework.web.client.HttpClientErrorException
- Since:
- 2.7
- Author:
- Christoph Deppisch
- 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
ConstructorsConstructorDescriptionHttpErrorPropagatingException(org.springframework.http.HttpStatusCode statusCode, String statusText, org.springframework.http.HttpHeaders responseHeaders, byte[] responseBody, Charset responseCharset) Default constructor using fields. -
Method Summary
Methods inherited from class org.springframework.web.client.HttpClientErrorException
create, createMethods inherited from class org.springframework.web.client.RestClientResponseException
getRawStatusCode, getResponseBodyAs, getResponseBodyAs, getResponseBodyAsByteArray, getResponseBodyAsString, getResponseBodyAsString, getResponseHeaders, getStatusCode, getStatusText, setBodyConvertFunctionMethods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HttpErrorPropagatingException
public HttpErrorPropagatingException(org.springframework.http.HttpStatusCode statusCode, String statusText, org.springframework.http.HttpHeaders responseHeaders, byte[] responseBody, Charset responseCharset) Default constructor using fields.- Parameters:
statusCode-statusText-responseHeaders-responseBody-responseCharset-
-