You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: framework/fel/java/plugins/tool-mcp-server/src/main/java/modelengine/fel/tool/mcp/server/handler/InitializeHandler.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ public class InitializeHandler extends AbstractMessageHandler<InitializeHandler.
26
26
* Constructs a new instance of the InitializeHandler class.
27
27
*
28
28
* @param mcpServer The MCP server instance used to retrieve server information during request handling.
29
-
* @throws IllegalStateException If {@code mcpServer} is null.
29
+
* @throws IllegalArgumentException If {@code mcpServer} is null.
Copy file name to clipboardExpand all lines: framework/fel/java/plugins/tool-mcp-server/src/main/java/modelengine/fel/tool/mcp/server/handler/ToolCallHandler.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ public class ToolCallHandler extends AbstractMessageHandler<ToolCallHandler.Tool
38
38
*
39
39
* @param mcpServer The MCP server instance used to invoke tools during request handling.
40
40
* @param jsonSerializer The serializer used to convert non-string results into JSON strings.
41
-
* @throws IllegalStateException If {@code mcpServer} or {@code jsonSerializer} is null.
41
+
* @throws IllegalArgumentException If {@code mcpServer} or {@code jsonSerializer} is null.
Copy file name to clipboardExpand all lines: framework/fel/java/plugins/tool-mcp-server/src/main/java/modelengine/fel/tool/mcp/server/handler/ToolListHandler.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ public class ToolListHandler extends AbstractMessageHandler<ToolListHandler.Tool
28
28
* Constructs a new instance of the ToolListHandler class.
29
29
*
30
30
* @param mcpServer The MCP server instance used to retrieve the list of tools during request handling.
31
-
* @throws IllegalStateException If {@code mcpServer} is null.
31
+
* @throws IllegalArgumentException If {@code mcpServer} is null.
Copy file name to clipboardExpand all lines: framework/fel/java/plugins/tool-mcp-server/src/main/java/modelengine/fel/tool/mcp/server/support/DefaultMcpServer.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ public class DefaultMcpServer implements McpServer, ToolChangedObserver {
41
41
* Constructs a new instance of the DefaultMcpServer class.
42
42
*
43
43
* @param toolExecuteService The service used to execute tools when handling tool call requests.
44
-
* @throws IllegalStateException If {@code toolExecuteService} is null.
44
+
* @throws IllegalArgumentException If {@code toolExecuteService} is null.
0 commit comments