Class Cancellation.OperationCancelledException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.mcpjava.server.Cancellation.OperationCancelledException
All Implemented Interfaces:
Serializable
Enclosing interface:
Cancellation

public static class Cancellation.OperationCancelledException extends RuntimeException
Exception indicating that an MCP request cannot be completed because it was cancelled by the client.
See Also:
  • Constructor Details

    • OperationCancelledException

      public OperationCancelledException()
      Creates a new exception with no detail message.
    • OperationCancelledException

      public OperationCancelledException(String message)
      Creates a new exception with the given detail message.
      Parameters:
      message - the detail message