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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAWS STS AssumeRole failed (trust policy, permissions, or a nonexistent role).The provider rejected the credential itself (HTTP 401 or equivalent).The credential was accepted but lacks permission for the requested operation (HTTP 403 or equivalent).The configured Azure deployment does not exist.Generic non-2xx HTTP response not covered by a more specific kind below (e.g.The configured endpoint URL is malformed or does not point at a usable provider endpoint.The configured region is invalid or not recognized by the provider/SDK.The configured model/inference target does not exist or is not available to this account.The provider is temporarily unavailable (HTTP 5xx / service outage).The provider rejected the request because the account/project has insufficient quota or credits.The provider signaled a request-rate limit (as opposed to an account/billing quota - seeQUOTA_EXCEEDED).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.The response was well-formed but semantically unusable (e.g. -
Method Summary
Modifier and TypeMethodDescriptionstatic AiAnalysisException.KindReturns the enum constant of this class with the specified name.static AiAnalysisException.Kind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DISABLED
-
CREDENTIALS_MISSING
-
CONFIGURATION_INVALID
-
TIMEOUT
-
CONNECTION_FAILED
-
HTTP_ERROR
Generic non-2xx HTTP response not covered by a more specific kind below (e.g. HTTP 400). -
MALFORMED_RESPONSE
-
AUTHENTICATION_FAILED
The provider rejected the credential itself (HTTP 401 or equivalent). -
AUTHORIZATION_FAILED
The credential was accepted but lacks permission for the requested operation (HTTP 403 or equivalent). -
MODEL_NOT_FOUND
The configured model/inference target does not exist or is not available to this account. -
DEPLOYMENT_NOT_FOUND
The configured Azure deployment does not exist. -
INVALID_REGION
The configured region is invalid or not recognized by the provider/SDK. -
INVALID_ENDPOINT
The configured endpoint URL is malformed or does not point at a usable provider endpoint. -
ASSUME_ROLE_FAILED
AWS STS AssumeRole failed (trust policy, permissions, or a nonexistent role). -
RATE_LIMITED
The provider signaled a request-rate limit (as opposed to an account/billing quota - seeQUOTA_EXCEEDED). -
QUOTA_EXCEEDED
The provider rejected the request because the account/project has insufficient quota or credits. -
PROVIDER_UNAVAILABLE
The provider is temporarily unavailable (HTTP 5xx / service outage). -
UNSUPPORTED_RESPONSE
The response was well-formed but semantically unusable (e.g. content blocked, unsupported content type). -
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
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
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 nameNullPointerException- if the argument is null
-