public class SuiApiException
extends java.lang.RuntimeException
| Constructor and Description |
|---|
SuiApiException(JsonRpc20Response.Error error)
Instantiates a new Sui api exception.
|
SuiApiException(java.lang.Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getCause() |
JsonRpc20Response.Error |
getError()
Gets error.
|
void |
setCause(java.lang.Throwable cause) |
void |
setError(JsonRpc20Response.Error error) |
public SuiApiException(JsonRpc20Response.Error error)
error - the errorpublic SuiApiException(java.lang.Throwable cause)
public JsonRpc20Response.Error getError()
public void setError(JsonRpc20Response.Error error)
public void setCause(java.lang.Throwable cause)
public java.lang.Throwable getCause()
getCause in class java.lang.Throwable