Package com.consol.citrus.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
-
- com.consol.citrus.http.client.HttpErrorPropagatingException
-
- All Implemented Interfaces:
Serializable
public class HttpErrorPropagatingException extends org.springframework.web.client.HttpClientErrorException
- Since:
- 2.7
- Author:
- Christoph Deppisch
- See Also:
- Serialized Form
-
-
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
Constructors Constructor Description HttpErrorPropagatingException(org.springframework.http.HttpStatus 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.RestClientResponseException
getRawStatusCode, getResponseBodyAsByteArray, getResponseBodyAsString, getResponseBodyAsString, getResponseHeaders, getStatusText
-
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
HttpErrorPropagatingException
public HttpErrorPropagatingException(org.springframework.http.HttpStatus statusCode, String statusText, org.springframework.http.HttpHeaders responseHeaders, byte[] responseBody, Charset responseCharset)
Default constructor using fields.- Parameters:
statusCode
-statusText
-responseHeaders
-responseBody
-responseCharset
-
-
-