Package org.web3j.protocol.exceptions
Class JsonRpcError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.web3j.protocol.exceptions.JsonRpcError
- All Implemented Interfaces:
Serializable
Exception encapsulating JSON-RPC error object.
- See Also:
-
Constructor Summary
ConstructorDescriptionJsonRpcError
(int code, String message, Object data) JsonRpcError
(Response.Error error) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JsonRpcError
-
JsonRpcError
-
-
Method Details
-
getCode
public int getCode() -
getData
-