Class AbstractMcpResourceListChangedMethodCallback.McpResourceListChangedConsumerMethodException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.ai.mcp.annotation.method.changed.resource.AbstractMcpResourceListChangedMethodCallback.McpResourceListChangedConsumerMethodException
- All Implemented Interfaces:
Serializable
- Enclosing class:
AbstractMcpResourceListChangedMethodCallback
public static class AbstractMcpResourceListChangedMethodCallback.McpResourceListChangedConsumerMethodException
extends RuntimeException
Exception thrown when there is an error invoking a resource list changed consumer
method.
- Author:
- Christian Tzolov
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new exception with the specified detail message.McpResourceListChangedConsumerMethodException(String message, Throwable cause) Constructs a new exception with the specified detail message and cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
McpResourceListChangedConsumerMethodException
-
McpResourceListChangedConsumerMethodException
Constructs a new exception with the specified detail message.- Parameters:
message- The detail message
-