Class JsonRpcException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.mcreator.io.mcp.protocol.JsonRpcException
- All Implemented Interfaces:
Serializable
Exception carrying a JSON-RPC error code, used by request handlers to report client-facing
errors (e.g.
JsonRpcResponse.JsonRpcError.INVALID_PARAMS) instead of a generic internal error.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JsonRpcException
-
-
Method Details
-
getCode
public int getCode()
-