Package io.moderne.jsonrpc
Class JsonRpcReceiveException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
io.moderne.jsonrpc.JsonRpcReceiveException
- All Implemented Interfaces:
Serializable
Thrown by a
MessageHandler when an inbound
message cannot be parsed or framed. Distinct from a JsonRpcError
returned over the wire by a peer: this represents a local frame-level failure
that should be reported back to the peer as an error response, not dispatched
through the open-request correlation map. Mixing the two paths can complete
an unrelated open client future on a malformed inbound request.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JsonRpcError.DetailinvalidRequestDetail(@Nullable String message) toError()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JsonRpcReceiveException
-
-
Method Details
-
toError
-
invalidRequestDetail
-