Package org.stellar.sdk.requests
Class ErrorResponse
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.stellar.sdk.requests.ErrorResponse
- All Implemented Interfaces:
Serializable
Exception thrown when request returned an non-success HTTP code.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ErrorResponse
-
-
Method Details
-
getCode
public int getCode() -
getBody
-