Class McpPromptRegistry.MissingPromptArgumentsException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.mockserver.netty.mcp.McpPromptRegistry.MissingPromptArgumentsException
All Implemented Interfaces:
Serializable
Enclosing class:
McpPromptRegistry

public static class McpPromptRegistry.MissingPromptArgumentsException extends IllegalArgumentException
Thrown by McpPromptRegistry.getMessages(java.lang.String, com.fasterxml.jackson.databind.JsonNode) when a prompts/get call omits a required argument, which the MCP prompts specification answers with JSON-RPC error -32602 (invalid params).
See Also:
  • Constructor Details

    • MissingPromptArgumentsException

      public MissingPromptArgumentsException(String promptName, List<String> missingArguments)
  • Method Details

    • getMissingArguments

      public List<String> getMissingArguments()