Class AgentCardDiscoveryException
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
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AgentCardDiscoveryException.HttpErrorException,AgentCardDiscoveryException.InvalidAgentCardException,AgentCardDiscoveryException.TimeoutException
public class AgentCardDiscoveryException
extends org.mule.runtime.api.connection.ConnectionException
Base exception for agent card discovery failures.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classException thrown when the agent card endpoint returns a non-200 HTTP status code.static classException thrown when the agent card JSON cannot be parsed or is invalid.static classException thrown when the agent card endpoint is not found (404).static classException thrown when the connection to the agent card endpoint times out. -
Field Summary
Fields inherited from class org.mule.runtime.api.exception.MuleException
EXCEPTION_MESSAGE_DELIMITER, EXCEPTION_MESSAGE_SECTION_DELIMITER, INFO_ALREADY_LOGGED_KEY, INFO_ERROR_TYPE_KEY, INFO_LOCATION_KEY, INFO_SOURCE_XML_KEY, MISSING_DEFAULT_VALUE, MULE_VERBOSE_EXCEPTIONS, verboseExceptions -
Constructor Summary
ConstructorsConstructorDescriptionAgentCardDiscoveryException(String message) AgentCardDiscoveryException(String message, URI requestUri, Throwable cause) -
Method Summary
Methods inherited from class org.mule.runtime.api.connection.ConnectionException
getConnection, getErrorTypeMethods inherited from class org.mule.runtime.api.exception.MuleException
addAllInfo, addInfo, appendMessage, equals, getAdditionalInfo, getDetailedMessage, getExceptionInfo, getI18nMessage, getInfo, getMessage, getMessageCode, getSummaryMessage, getVerboseMessage, hashCode, isVerboseExceptions, prependMessage, refreshVerboseExceptions, setMessage, setMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AgentCardDiscoveryException
-
AgentCardDiscoveryException
-
-
Method Details
-
getRequestUri
-