Package io.vrap.rmf.base.client.error
Class ApiServerException
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.ApiServerException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BadGatewayException
,GatewayTimeoutException
,InternalServerErrorException
,ServiceUnavailableException
- See Also:
-
Constructor Summary
ConstructorDescriptionApiServerException
(int statusCode, String body, ApiHttpHeaders headers, String message, ApiHttpResponse<byte[]> response) ApiServerException
(int statusCode, String body, ApiHttpHeaders headers, String message, ApiHttpResponse<byte[]> response, ApiHttpRequest request) ApiServerException
(int statusCode, String body, ApiHttpHeaders headers, String message, ApiHttpResponse<byte[]> response, ApiHttpRequest request, ResponseSerializer serializer) ApiServerException
(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
-
Constructor Details
-
ApiServerException
public ApiServerException(int statusCode, String body, ApiHttpHeaders headers, String message, ApiHttpResponse<byte[]> response) -
ApiServerException
public ApiServerException(int statusCode, String body, ApiHttpHeaders headers, String message, ApiHttpResponse<byte[]> response, ApiHttpRequest request) -
ApiServerException
public ApiServerException(int statusCode, String body, ApiHttpHeaders headers, String message, ApiHttpResponse<byte[]> response, ResponseSerializer serializer) -
ApiServerException
public ApiServerException(int statusCode, String body, ApiHttpHeaders headers, String message, ApiHttpResponse<byte[]> response, ApiHttpRequest request, ResponseSerializer serializer)
-