Class AbstractMcpSamplingMethodCallback.McpSamplingMethodException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springaicommunity.mcp.method.sampling.AbstractMcpSamplingMethodCallback.McpSamplingMethodException
All Implemented Interfaces:
Serializable
Enclosing class:
AbstractMcpSamplingMethodCallback

public static class AbstractMcpSamplingMethodCallback.McpSamplingMethodException extends RuntimeException
Exception thrown when there is an error invoking a sampling method.
See Also:
  • Constructor Details

    • McpSamplingMethodException

      public McpSamplingMethodException(String message, Throwable cause)
      Constructs a new exception with the specified detail message and cause.
      Parameters:
      message - The detail message
      cause - The cause
    • McpSamplingMethodException

      public McpSamplingMethodException(String message)
      Constructs a new exception with the specified detail message.
      Parameters:
      message - The detail message