Class A2AClientError

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
A2AClientHTTPError, A2AClientInvalidArgsError, A2AClientInvalidStateError, A2AClientJSONError

public class A2AClientError extends RuntimeException
Base exception for A2A client-specific error conditions.

This is a specialized exception hierarchy for client-side errors, distinct from A2AClientException. It is used for errors that occur during client SDK operations such as validation, state management, and protocol handling.

Specialized subclasses:

See Also:
  • Constructor Details

    • A2AClientError

      public A2AClientError()
      Constructs a new A2AClientError with no detail message.
    • A2AClientError

      public A2AClientError(String message)
      Constructs a new A2AClientError with the specified detail message.
      Parameters:
      message - the detail message
    • A2AClientError

      public A2AClientError(String message, Throwable cause)
      Constructs a new A2AClientError with the specified detail message and cause.
      Parameters:
      message - the detail message
      cause - the cause of this exception