Class McpException

All Implemented Interfaces:
Serializable

public class McpException extends RuntimeException
Base exception for MCP-related errors.
See Also:
  • Constructor Details

    • McpException

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

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

      public McpException(String message, Throwable cause)
      Creates a new exception with the given detail message and cause.
      Parameters:
      message - the detail message
      cause - the cause
    • McpException

      public McpException(Throwable cause)
      Creates a new exception with the given cause.
      Parameters:
      cause - the cause