Class McpServerConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.github.thought2code.mcp.annotated.exception.McpServerException
com.github.thought2code.mcp.annotated.exception.McpServerConfigurationException
- All Implemented Interfaces:
Serializable
This exception is thrown to indicate a configuration error in the MCP (Model Context Protocol)
server.
- Author:
- codeboyzhou
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMcpServerConfigurationException(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. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
McpServerConfigurationException
Creates a new instance ofMcpServerConfigurationExceptionwith the specified detail message.- Parameters:
message- the detail message
-
McpServerConfigurationException
Creates a new instance ofMcpServerConfigurationExceptionwith the specified detail message and cause.- Parameters:
message- the detail messagecause- the cause of the exception
-