Class McpException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.shaft.commandline.mcp.McpException
- All Implemented Interfaces:
Serializable
Raised when an MCP interaction fails: a JSON-RPC protocol error, a transport failure,
or a tool-level error result.
- 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
-
McpException
- Parameters:
message- the failure description
-
McpException
-