类 McpServerConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.github.codeboyzhou.mcp.declarative.exception.McpServerException
com.github.codeboyzhou.mcp.declarative.exception.McpServerConfigurationException
- 所有已实现的接口:
Serializable
This exception is thrown to indicate a configuration error in the MCP (Model Context Protocol)
server.
- 作者:
- codeboyzhou
- 另请参阅:
-
构造器概要
构造器构造器说明McpServerConfigurationException(String message) Creates a new instance ofMcpServerConfigurationExceptionwith the specified detail message.McpServerConfigurationException(String message, Throwable cause) Creates a new instance ofMcpServerConfigurationExceptionwith the specified detail message and cause. -
方法概要
-
构造器详细资料
-
McpServerConfigurationException
Creates a new instance ofMcpServerConfigurationExceptionwith the specified detail message.- 参数:
message- the detail message
-
McpServerConfigurationException
Creates a new instance ofMcpServerConfigurationExceptionwith the specified detail message and cause.- 参数:
message- the detail messagecause- the cause of the exception
-