Class MoeraNamingApiException

All Implemented Interfaces:
Serializable

public class MoeraNamingApiException extends JsonRpcApiException
Represents an exception specific to errors returned by the Moera Naming API calls.
See Also:
  • Constructor Details

    • MoeraNamingApiException

      public MoeraNamingApiException(int rpcCode, String message)
      Constructs a new instance of MoeraNamingApiException with the specified RPC error code and detail message.
      Parameters:
      rpcCode - the JSON-RPC error code associated with this exception
      message - the detail message providing additional information about the error
    • MoeraNamingApiException

      public MoeraNamingApiException(JsonRpcError jsonRpcError)
      Constructs a new MoeraNamingApiException instance using the provided JsonRpcError. The exception encapsulates the error code and message from the specified JSON-RPC error object.
      Parameters:
      jsonRpcError - the JsonRpcError instance containing the error code and message