Class AgentCardDiscoveryException.HttpErrorException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.connection.ConnectionException
com.mulesoft.connectors.a2a.internal.error.exception.AgentCardDiscoveryException
com.mulesoft.connectors.a2a.internal.error.exception.AgentCardDiscoveryException.HttpErrorException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AgentCardDiscoveryException.NotFoundException
Enclosing class:
AgentCardDiscoveryException

public static class AgentCardDiscoveryException.HttpErrorException extends AgentCardDiscoveryException
Exception thrown when the agent card endpoint returns a non-200 HTTP status code.
See Also:
  • Constructor Details

    • HttpErrorException

      public HttpErrorException(int statusCode, String message, URI requestUri, Map<String,String> headers)
  • Method Details

    • getStatusCode

      public int getStatusCode()
    • getHeaders

      public Map<String,String> getHeaders()