Class A2AServerException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TaskStoreException

public class A2AServerException extends A2AException
Exception indicating a server-side failure in A2A Protocol operations.

This exception is thrown by A2A server implementations when encountering errors during request processing, task execution, or other server-side operations.

Common scenarios:

  • Agent execution failures
  • Task store persistence errors
  • Resource exhaustion or limits exceeded
  • Configuration errors
See Also:
  • Constructor Details

    • A2AServerException

      public A2AServerException()
      Creates a new A2AServerException with no message.
    • A2AServerException

      public A2AServerException(String msg)
      Creates a new A2AServerException with the specified message.
      Parameters:
      msg - the exception message
    • A2AServerException

      public A2AServerException(Throwable cause)
      Creates a new A2AServerException with the specified cause.
      Parameters:
      cause - the underlying cause
    • A2AServerException

      public A2AServerException(String msg, Throwable cause)
      Creates a new A2AServerException with the specified message and cause.
      Parameters:
      msg - the exception message
      cause - the underlying cause