Class BitcoinRPCError


  • public class BitcoinRPCError
    extends java.lang.Object
    an 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
      int getCode()
      get the code returned by the bitcoind.
      some of the error codes are defined in BitcoinRPCErrorCode
      java.lang.Object getId()  
      java.lang.String getMessage()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BitcoinRPCError

        public BitcoinRPCError​(java.util.Map errorResponse)
    • Method Detail

      • getCode

        public int getCode()
        get the code returned by the bitcoind.
        some of the error codes are defined in BitcoinRPCErrorCode
      • getMessage

        public java.lang.String getMessage()
      • getId

        public java.lang.Object getId()