Class ApiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
dev.restate.admin.client.ApiException
- All Implemented Interfaces:
Serializable
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.ApiException(int code, String message) Deprecated.ApiException(int code, String message, HttpHeaders responseHeaders, String responseBody) Deprecated.ApiException(int code, HttpHeaders responseHeaders, String responseBody) Deprecated.ApiException(String message) Deprecated.ApiException(String message, int code, HttpHeaders responseHeaders, String responseBody) Deprecated.ApiException(String message, Throwable throwable, int code, HttpHeaders responseHeaders) Deprecated.ApiException(String message, Throwable throwable, int code, HttpHeaders responseHeaders, String responseBody) Deprecated.ApiException(Throwable throwable) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionintgetCode()Deprecated.Get the HTTP status code.Deprecated.Get the HTTP response body.Deprecated.Get the HTTP response headers.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ApiException
public ApiException()Deprecated. -
ApiException
Deprecated. -
ApiException
Deprecated. -
ApiException
public ApiException(String message, Throwable throwable, int code, HttpHeaders responseHeaders, String responseBody) Deprecated. -
ApiException
Deprecated. -
ApiException
Deprecated. -
ApiException
Deprecated. -
ApiException
Deprecated. -
ApiException
Deprecated.
-
-
Method Details
-
getCode
public int getCode()Deprecated.Get the HTTP status code.- Returns:
- HTTP status code
-
getResponseHeaders
Deprecated.Get the HTTP response headers.- Returns:
- Headers as an HttpHeaders object
-
getResponseBody
Deprecated.Get the HTTP response body.- Returns:
- Response body in the form of string
-