ErrorSubCode Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum<ErrorSubCode> - com.
microsoft. azure. cognitiveservices. language. spellcheck. models. ErrorSubCode
- com.
- com.
public class ErrorSubCode
Defines values for ErrorSubCode.
Field Summary
Modifier and Type | Field and Description |
---|---|
final Error |
AUTHORIZATION_DISABLED
Static value AuthorizationDisabled for ErrorSubCode. |
final Error |
AUTHORIZATION_EXPIRED
Static value AuthorizationExpired for ErrorSubCode. |
final Error |
AUTHORIZATION_MISSING
Static value AuthorizationMissing for ErrorSubCode. |
final Error |
AUTHORIZATION_REDUNDANCY
Static value AuthorizationRedundancy for ErrorSubCode. |
final Error |
BLOCKED
Static value Blocked for ErrorSubCode. |
final Error |
HTTP_NOT_ALLOWED
Static value HttpNotAllowed for ErrorSubCode. |
final Error |
NOT_IMPLEMENTED
Static value NotImplemented for ErrorSubCode. |
final Error |
PARAMETER_INVALID_VALUE
Static value ParameterInvalidValue for ErrorSubCode. |
final Error |
PARAMETER_MISSING
Static value ParameterMissing for ErrorSubCode. |
final Error |
RESOURCE_ERROR
Static value ResourceError for ErrorSubCode. |
final Error |
UNEXPECTED_ERROR
Static value UnexpectedError for ErrorSubCode. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Error |
fromString(String name)
Creates or finds a ErrorSubCode from its string representation. |
Collection<Error |
values() |
Field Details
AUTHORIZATION_DISABLED
public static final ErrorSubCode AUTHORIZATION_DISABLED= fromString("AuthorizationDisabled")
Static value AuthorizationDisabled for ErrorSubCode.
AUTHORIZATION_EXPIRED
public static final ErrorSubCode AUTHORIZATION_EXPIRED= fromString("AuthorizationExpired")
Static value AuthorizationExpired for ErrorSubCode.
AUTHORIZATION_MISSING
public static final ErrorSubCode AUTHORIZATION_MISSING= fromString("AuthorizationMissing")
Static value AuthorizationMissing for ErrorSubCode.
AUTHORIZATION_REDUNDANCY
public static final ErrorSubCode AUTHORIZATION_REDUNDANCY= fromString("AuthorizationRedundancy")
Static value AuthorizationRedundancy for ErrorSubCode.
BLOCKED
public static final ErrorSubCode BLOCKED= fromString("Blocked")
Static value Blocked for ErrorSubCode.
HTTP_NOT_ALLOWED
public static final ErrorSubCode HTTP_NOT_ALLOWED= fromString("HttpNotAllowed")
Static value HttpNotAllowed for ErrorSubCode.
NOT_IMPLEMENTED
public static final ErrorSubCode NOT_IMPLEMENTED= fromString("NotImplemented")
Static value NotImplemented for ErrorSubCode.
PARAMETER_INVALID_VALUE
public static final ErrorSubCode PARAMETER_INVALID_VALUE= fromString("ParameterInvalidValue")
Static value ParameterInvalidValue for ErrorSubCode.
PARAMETER_MISSING
public static final ErrorSubCode PARAMETER_MISSING= fromString("ParameterMissing")
Static value ParameterMissing for ErrorSubCode.
RESOURCE_ERROR
public static final ErrorSubCode RESOURCE_ERROR= fromString("ResourceError")
Static value ResourceError for ErrorSubCode.
UNEXPECTED_ERROR
public static final ErrorSubCode UNEXPECTED_ERROR= fromString("UnexpectedError")
Static value UnexpectedError for ErrorSubCode.
Method Details
fromString
public static ErrorSubCode fromString(String name)
Creates or finds a ErrorSubCode from its string representation.
Parameters:
Returns:
values
public static Collection
Returns:
Applies to
Azure SDK for Java