Serializable
RpcConfigForbiddenException
, RpcEntityNotFoundException
, RpcInternalException
, RpcInvalidArgumentException
, RpcInvalidRequestJsonException
, RpcInvalidResponseException
, RpcRequestCancelledException
, RpcUnknownCommandException
, RpcUnrecognizedException
, RpcWalletLockedException
public class RpcException extends Exception
Constructor | Description |
---|---|
RpcException(String message) |
|
RpcException(String message,
String nodeMessage) |
|
RpcException(String message,
String nodeMessage,
Throwable cause) |
|
RpcException(String message,
Throwable cause) |
Modifier and Type | Method | Description |
---|---|---|
protected static String |
formatMessage(String msg) |
|
String |
getNodeMessage() |
Returns the exact error string returned by the node.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RpcException(String message)
Copyright © 2020. All rights reserved.