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