Package com.tnsai.mcp.client
Class McpClient.McpException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.tnsai.mcp.client.McpClient.McpException
- All Implemented Interfaces:
Serializable
- Enclosing class:
McpClient
Exception for MCP-related errors.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMcpException(String message) McpException(String message, int code) McpException(String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
McpException
-
McpException
-
McpException
-
-
Method Details
-
getCode
public int getCode()
-