Class TenantNotFoundException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.a2aproject.sdk.server.multitenancy.TenantNotFoundException
All Implemented Interfaces:
Serializable

public class TenantNotFoundException extends RuntimeException
Thrown when a tenant-specific public agent card is requested but no card is registered for that tenant. Callers should map this to an HTTP 404 response.
See Also:
  • Constructor Details

    • TenantNotFoundException

      public TenantNotFoundException(String tenant)
  • Method Details

    • getTenant

      public String getTenant()
    • getResponseMessage

      public String getResponseMessage()
      Returns the response body text for this exception (guaranteed non-null).
      Returns:
      the response message