Class ApiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.algorand.algosdk.algod.client.ApiException
- All Implemented Interfaces:
java.io.Serializable
@Deprecated
public class ApiException
extends java.lang.Exception
Deprecated.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ApiException()
Deprecated.ApiException(int code, java.lang.String message)
Deprecated.ApiException(int code, java.lang.String message, java.util.Map<java.lang.String,java.util.List<java.lang.String>> responseHeaders, java.lang.String responseBody)
Deprecated.ApiException(int code, java.util.Map<java.lang.String,java.util.List<java.lang.String>> responseHeaders, java.lang.String responseBody)
Deprecated.ApiException(java.lang.String message)
Deprecated.ApiException(java.lang.String message, int code, java.util.Map<java.lang.String,java.util.List<java.lang.String>> responseHeaders, java.lang.String responseBody)
Deprecated.ApiException(java.lang.String message, java.lang.Throwable throwable, int code, java.util.Map<java.lang.String,java.util.List<java.lang.String>> responseHeaders)
Deprecated.ApiException(java.lang.String message, java.lang.Throwable throwable, int code, java.util.Map<java.lang.String,java.util.List<java.lang.String>> responseHeaders, java.lang.String responseBody)
Deprecated.ApiException(java.lang.Throwable throwable)
Deprecated. -
Method Summary
Modifier and Type Method Description int
getCode()
Deprecated.Get the HTTP status code.java.lang.String
getResponseBody()
Deprecated.Get the HTTP response body.java.util.Map<java.lang.String,java.util.List<java.lang.String>>
getResponseHeaders()
Deprecated.Get the HTTP response headers.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
ApiException
public ApiException()Deprecated. -
ApiException
public ApiException(java.lang.Throwable throwable)Deprecated. -
ApiException
public ApiException(java.lang.String message)Deprecated. -
ApiException
public ApiException(java.lang.String message, java.lang.Throwable throwable, int code, java.util.Map<java.lang.String,java.util.List<java.lang.String>> responseHeaders, java.lang.String responseBody)Deprecated. -
ApiException
public ApiException(java.lang.String message, int code, java.util.Map<java.lang.String,java.util.List<java.lang.String>> responseHeaders, java.lang.String responseBody)Deprecated. -
ApiException
public ApiException(java.lang.String message, java.lang.Throwable throwable, int code, java.util.Map<java.lang.String,java.util.List<java.lang.String>> responseHeaders)Deprecated. -
ApiException
public ApiException(int code, java.util.Map<java.lang.String,java.util.List<java.lang.String>> responseHeaders, java.lang.String responseBody)Deprecated. -
ApiException
public ApiException(int code, java.lang.String message)Deprecated. -
ApiException
public ApiException(int code, java.lang.String message, java.util.Map<java.lang.String,java.util.List<java.lang.String>> responseHeaders, java.lang.String responseBody)Deprecated.
-
-
Method Details
-
getCode
public int getCode()Deprecated.Get the HTTP status code.- Returns:
- HTTP status code
-
getResponseHeaders
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getResponseHeaders()Deprecated.Get the HTTP response headers.- Returns:
- A map of list of string
-
getResponseBody
public java.lang.String getResponseBody()Deprecated.Get the HTTP response body.- Returns:
- Response body in the form of string
-