Enum Class AiAnalysisException.Kind

java.lang.Object
java.lang.Enum<AiAnalysisException.Kind>
io.jenkins.plugins.changeinvestigator.ai.AiAnalysisException.Kind
All Implemented Interfaces:
Serializable, Comparable<AiAnalysisException.Kind>, Constable
Enclosing class:
AiAnalysisException

public static enum AiAnalysisException.Kind extends Enum<AiAnalysisException.Kind>
  • Enum Constant Details

    • DISABLED

      public static final AiAnalysisException.Kind DISABLED
    • CREDENTIALS_MISSING

      public static final AiAnalysisException.Kind CREDENTIALS_MISSING
    • CONFIGURATION_INVALID

      public static final AiAnalysisException.Kind CONFIGURATION_INVALID
    • TIMEOUT

      public static final AiAnalysisException.Kind TIMEOUT
    • CONNECTION_FAILED

      public static final AiAnalysisException.Kind CONNECTION_FAILED
    • HTTP_ERROR

      public static final AiAnalysisException.Kind HTTP_ERROR
      Generic non-2xx HTTP response not covered by a more specific kind below (e.g. HTTP 400).
    • MALFORMED_RESPONSE

      public static final AiAnalysisException.Kind MALFORMED_RESPONSE
    • AUTHENTICATION_FAILED

      public static final AiAnalysisException.Kind AUTHENTICATION_FAILED
      The provider rejected the credential itself (HTTP 401 or equivalent).
    • AUTHORIZATION_FAILED

      public static final AiAnalysisException.Kind AUTHORIZATION_FAILED
      The credential was accepted but lacks permission for the requested operation (HTTP 403 or equivalent).
    • MODEL_NOT_FOUND

      public static final AiAnalysisException.Kind MODEL_NOT_FOUND
      The configured model/inference target does not exist or is not available to this account.
    • DEPLOYMENT_NOT_FOUND

      public static final AiAnalysisException.Kind DEPLOYMENT_NOT_FOUND
      The configured Azure deployment does not exist.
    • INVALID_REGION

      public static final AiAnalysisException.Kind INVALID_REGION
      The configured region is invalid or not recognized by the provider/SDK.
    • INVALID_ENDPOINT

      public static final AiAnalysisException.Kind INVALID_ENDPOINT
      The configured endpoint URL is malformed or does not point at a usable provider endpoint.
    • ASSUME_ROLE_FAILED

      public static final AiAnalysisException.Kind ASSUME_ROLE_FAILED
      AWS STS AssumeRole failed (trust policy, permissions, or a nonexistent role).
    • RATE_LIMITED

      public static final AiAnalysisException.Kind RATE_LIMITED
      The provider signaled a request-rate limit (as opposed to an account/billing quota - see QUOTA_EXCEEDED).
    • QUOTA_EXCEEDED

      public static final AiAnalysisException.Kind QUOTA_EXCEEDED
      The provider rejected the request because the account/project has insufficient quota or credits.
    • PROVIDER_UNAVAILABLE

      public static final AiAnalysisException.Kind PROVIDER_UNAVAILABLE
      The provider is temporarily unavailable (HTTP 5xx / service outage).
    • UNSUPPORTED_RESPONSE

      public static final AiAnalysisException.Kind UNSUPPORTED_RESPONSE
      The response was well-formed but semantically unusable (e.g. content blocked, unsupported content type).
    • UNKNOWN_PROVIDER_ERROR

      public static final AiAnalysisException.Kind UNKNOWN_PROVIDER_ERROR
      A provider integration failed in a way that could not be classified more specifically - including a provider SDK/library failing to load or link correctly at runtime. Always paired with a message that points the administrator at the server log rather than exposing internal details directly.
  • Method Details

    • values

      public static AiAnalysisException.Kind[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AiAnalysisException.Kind valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null