Package io.a2a.spec

Class A2AException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
A2AClientException, A2AServerException

public class A2AException extends IOException
Exception to indicate a general failure related to the A2A protocol.
See Also:
  • Constructor Details

    • A2AException

      public A2AException()
      Constructs a new A2AException instance. The message is left blank (null), and no cause is specified.
    • A2AException

      public A2AException(String msg)
      Constructs a new A2AException instance with an initial message. No cause is specified.
      Parameters:
      msg - the message
    • A2AException

      public A2AException(Throwable cause)
      Constructs a new A2AException instance with an initial cause. If a non-null cause is specified, its message is used to initialize the message of this A2AException; otherwise the message is left blank (null).
      Parameters:
      cause - the cause
    • A2AException

      public A2AException(String msg, Throwable cause)
      Constructs a new A2AException instance with an initial message and cause.
      Parameters:
      msg - the message
      cause - the cause