Class JsonRpcException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MoeraNamingException, PushRelayException

public class JsonRpcException extends RuntimeException
Represents an exception specific to JSON-RPC operations. This class serves as a base class for exceptions that occur during the processing of JSON-RPC requests and responses.
See Also:
  • Constructor Details

    • JsonRpcException

      public JsonRpcException(String message)
      Constructs a new JsonRpcException with the specified message.
      Parameters:
      message - the detail message explaining the reason for the exception
    • JsonRpcException

      public JsonRpcException(String message, Throwable cause)
      Constructs a new JsonRpcException with the specified detail message and cause.
      Parameters:
      message - the detail message explaining the reason for the exception
      cause - the cause of the exception