public class BitcoinRPCException extends GenericRpcException
| Constructor and Description |
|---|
BitcoinRPCException(BitcoinRPCError error) |
BitcoinRPCException(String msg)
Constructs an instance of
BitcoinRPCException with the
specified detail message. |
BitcoinRPCException(String method,
String params,
int responseCode,
String responseMessage,
String response)
Creates a new instance of
BitcoinRPCException with response
detail. |
BitcoinRPCException(String method,
String params,
Throwable cause) |
BitcoinRPCException(String message,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
String |
getResponse() |
int |
getResponseCode() |
String |
getResponseMessage() |
BitcoinRPCError |
getRPCError() |
String |
getRpcMethod() |
String |
getRpcParams() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic BitcoinRPCException(String method, String params, int responseCode, String responseMessage, String response)
BitcoinRPCException with response
detail.method - the rpc method calledparams - the parameters sentresponseCode - the HTTP code receivedresponseMessage - the HTTP response messageresponse - the error stream receivedpublic BitcoinRPCException(String msg)
BitcoinRPCException with the
specified detail message.msg - the detail message.public BitcoinRPCException(BitcoinRPCError error)
public int getResponseCode()
public String getRpcMethod()
public String getRpcParams()
public String getResponseMessage()
public String getResponse()
public BitcoinRPCError getRPCError()
Copyright © 2018. All rights reserved.