public class McpTransportException extends RuntimeException
This exception is used to indicate errors that occur during communication between the MCP client and server, such as connection failures, protocol violations, or unexpected responses.
| Constructor and Description |
|---|
McpTransportException(String message) |
McpTransportException(String message,
Throwable cause) |
McpTransportException(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace) |
McpTransportException(Throwable cause) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringCopyright © 2025. All rights reserved.