Class BadRequestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.vrap.rmf.base.client.error.BaseException
io.vrap.rmf.base.client.ApiHttpException
io.vrap.rmf.base.client.error.ApiClientException
io.vrap.rmf.base.client.error.BadRequestException
com.commercetools.api.client.error.BadRequestException
- All Implemented Interfaces:
ErrorResponseException
,Serializable
Deserializes the response payload as
ErrorResponse
- See Also:
-
Constructor Summary
ConstructorDescriptionBadRequestException
(int statusCode, String body, ApiHttpHeaders headers, String message, ApiHttpResponse<byte[]> response) BadRequestException
(int statusCode, String body, ApiHttpHeaders headers, String message, ApiHttpResponse<byte[]> response, ApiHttpRequest request) BadRequestException
(int statusCode, String body, ApiHttpHeaders headers, String message, ApiHttpResponse<byte[]> response, ApiHttpRequest request, ResponseSerializer serializer) BadRequestException
(int statusCode, String body, ApiHttpHeaders headers, String message, ApiHttpResponse<byte[]> response, ResponseSerializer serializer) -
Method Summary
Methods inherited from class io.vrap.rmf.base.client.ApiHttpException
getBody, getBodyAs, getHeaders, getMessage, getRequest, getResponse, getStatusCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.commercetools.api.client.error.ErrorResponseException
hasErrorCode
-
Constructor Details
-
BadRequestException
public BadRequestException(int statusCode, String body, ApiHttpHeaders headers, String message, ApiHttpResponse<byte[]> response) -
BadRequestException
public BadRequestException(int statusCode, String body, ApiHttpHeaders headers, String message, ApiHttpResponse<byte[]> response, ApiHttpRequest request) -
BadRequestException
public BadRequestException(int statusCode, String body, ApiHttpHeaders headers, String message, ApiHttpResponse<byte[]> response, ResponseSerializer serializer) -
BadRequestException
public BadRequestException(int statusCode, String body, ApiHttpHeaders headers, String message, ApiHttpResponse<byte[]> response, ApiHttpRequest request, ResponseSerializer serializer)
-
-
Method Details
-
getErrorResponse
- Specified by:
getErrorResponse
in interfaceErrorResponseException
-