Class McpException

All Implemented Interfaces:
Serializable

public class McpException extends LangChain4jException
A business exception raised over the MCP protocol
See Also:
  • Constructor Details

    • McpException

      public McpException(int errorCode, String errorMessage)
  • Method Details

    • errorCode

      public int errorCode()
    • errorMessage

      public String errorMessage()