Package wf.bitcoin.javabitcoindrpcclient
Class BitcoinRPCError
- java.lang.Object
-
- wf.bitcoin.javabitcoindrpcclient.BitcoinRPCError
-
public class BitcoinRPCError extends java.lang.Objectan object represents the error in a bitcoind rpc call- Author:
- frankchen
-
-
Constructor Summary
Constructors Constructor Description BitcoinRPCError(java.util.Map errorResponse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCode()get the code returned by the bitcoind.
some of the error codes are defined inBitcoinRPCErrorCodejava.lang.ObjectgetId()java.lang.StringgetMessage()
-
-
-
Method Detail
-
getCode
public int getCode()
get the code returned by the bitcoind.
some of the error codes are defined inBitcoinRPCErrorCode
-
getMessage
public java.lang.String getMessage()
-
getId
public java.lang.Object getId()
-
-