Package org.stellar.sdk.exception
Class SorobanRpcException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.stellar.sdk.exception.SdkException
org.stellar.sdk.exception.NetworkException
org.stellar.sdk.exception.SorobanRpcException
- All Implemented Interfaces:
Serializable
Throws when Soroban-RPC instance responds with error.
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class org.stellar.sdk.exception.NetworkException
getBody
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SorobanRpcException
-
-
Method Details
-
getCode
Description copied from class:NetworkException
The status code of the response.- Overrides:
getCode
in classNetworkException
-
getMessage
- Overrides:
getMessage
in classThrowable
-
getData
-