Class AbstractMcpToolListChangedMethodCallback.McpToolListChangedConsumerMethodException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springaicommunity.mcp.method.changed.tool.AbstractMcpToolListChangedMethodCallback.McpToolListChangedConsumerMethodException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- AbstractMcpToolListChangedMethodCallback
public static class AbstractMcpToolListChangedMethodCallback.McpToolListChangedConsumerMethodException
extends RuntimeException
Exception thrown when there is an error invoking a tool list changed consumer
method.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new exception with the specified detail message.McpToolListChangedConsumerMethodException(String message, Throwable cause) Constructs a new exception with 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
-
McpToolListChangedConsumerMethodException
Constructs a new exception with the specified detail message and cause.- Parameters:
message- The detail messagecause- The cause
-
McpToolListChangedConsumerMethodException
Constructs a new exception with the specified detail message.- Parameters:
message- The detail message
-