java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.lageto.monero.rpc.RpcException
- All Implemented Interfaces:
Serializable
An exception representing a failed RPC request.
- See Also:
- Serialized Form
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getCode
public int getCode()The error code that caused this exception.- Returns:
- error code, usually
-1
-