Uses of Class
org.moera.lib.jsonrpc.JsonRpcError
Packages that use JsonRpcError
Package
Description
JSON-RPC 2.0 client.
Moera Naming API client.
Moera Push Relay API client.
-
Uses of JsonRpcError in org.moera.lib.jsonrpc
Fields in org.moera.lib.jsonrpc declared as JsonRpcErrorModifier and TypeFieldDescriptionstatic final JsonRpcError
JsonRpcError.BULK_ERROR
Represents a standard JSON-RPC error indicating a "bulk error".static final JsonRpcError
JsonRpcError.ERROR_NOT_HANDLED
Represents a standard JSON-RPC error indicating that the error encountered during the execution of a request was not specifically handled.static final JsonRpcError
JsonRpcError.INTERNAL_ERROR
Represents a predefined error in the JSON-RPC protocol indicating an internal server error.static final JsonRpcError
JsonRpcError.INVALID_REQUEST
Represents a standard JSON-RPC error indicating that the received request is invalid.static final JsonRpcError
JsonRpcError.METHOD_NOT_FOUND
Represents a JSON-RPC predefined error indicating that the requested method does not exist or is unavailable.static final JsonRpcError
JsonRpcError.METHOD_PARAMS_INVALID
Represents a standard JSON-RPC error that occurs when the parameters provided to a JSON-RPC method are invalid or do not meet the method's requirements.static final JsonRpcError
JsonRpcError.OK
Represents a JSON-RPC success indicator with no error.static final JsonRpcError
JsonRpcError.PARSE_ERROR
Represents the JSON-RPC standard error for parsing issues.Methods in org.moera.lib.jsonrpc that return JsonRpcErrorModifier and TypeMethodDescriptionJsonRpcResponse.getError()
Retrieves the error associated with the JSON-RPC response.JsonRpcApiException.getRpcError()
Constructs and returns aJsonRpcError
object representing the JSON-RPC error associated with this exception.Methods in org.moera.lib.jsonrpc with parameters of type JsonRpcErrorModifier and TypeMethodDescriptionvoid
JsonRpcResponse.setError
(JsonRpcError error) Sets the error attribute of the JSON-RPC response.Constructors in org.moera.lib.jsonrpc with parameters of type JsonRpcErrorModifierConstructorDescriptionJsonRpcApiException
(JsonRpcError jsonRpcError) Constructs a newJsonRpcApiException
instance using the specifiedJsonRpcError
.JsonRpcResponse
(Object id, JsonRpcError error) Constructs a JSON-RPC response object with the specified ID and error details. -
Uses of JsonRpcError in org.moera.lib.naming
Constructors in org.moera.lib.naming with parameters of type JsonRpcErrorModifierConstructorDescriptionMoeraNamingApiException
(JsonRpcError jsonRpcError) Constructs a newMoeraNamingApiException
instance using the providedJsonRpcError
. -
Uses of JsonRpcError in org.moera.lib.pushrelay
Constructors in org.moera.lib.pushrelay with parameters of type JsonRpcErrorModifierConstructorDescriptionPushRelayApiException
(JsonRpcError jsonRpcError) Constructs a newPushRelayApiException
instance using the providedJsonRpcError
.