@InterfaceAudience.Public @InterfaceStability.Evolving public enum AzureServiceErrorCode extends Enum<AzureServiceErrorCode>
| Modifier and Type | Method and Description | 
|---|---|
| static List<AzureServiceErrorCode> | getAzureServiceCode(int httpStatusCode) | 
| static AzureServiceErrorCode | getAzureServiceCode(int httpStatusCode,
                   String errorCode) | 
| static AzureServiceErrorCode | getAzureServiceCode(int httpStatusCode,
                   String errorCode,
                   String errorMessage) | 
| String | getErrorCode() | 
| int | getStatusCode() | 
| static AzureServiceErrorCode | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static AzureServiceErrorCode[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final AzureServiceErrorCode FILE_SYSTEM_ALREADY_EXISTS
public static final AzureServiceErrorCode PATH_ALREADY_EXISTS
public static final AzureServiceErrorCode INTERNAL_OPERATION_ABORT
public static final AzureServiceErrorCode PATH_CONFLICT
public static final AzureServiceErrorCode FILE_SYSTEM_NOT_FOUND
public static final AzureServiceErrorCode PATH_NOT_FOUND
public static final AzureServiceErrorCode PRE_CONDITION_FAILED
public static final AzureServiceErrorCode SOURCE_PATH_NOT_FOUND
public static final AzureServiceErrorCode INVALID_SOURCE_OR_DESTINATION_RESOURCE_TYPE
public static final AzureServiceErrorCode RENAME_DESTINATION_PARENT_PATH_NOT_FOUND
public static final AzureServiceErrorCode INVALID_RENAME_SOURCE_PATH
public static final AzureServiceErrorCode INGRESS_OVER_ACCOUNT_LIMIT
public static final AzureServiceErrorCode EGRESS_OVER_ACCOUNT_LIMIT
public static final AzureServiceErrorCode INVALID_QUERY_PARAMETER_VALUE
public static final AzureServiceErrorCode AUTHORIZATION_PERMISSION_MISS_MATCH
public static final AzureServiceErrorCode ACCOUNT_REQUIRES_HTTPS
public static final AzureServiceErrorCode UNKNOWN
public static AzureServiceErrorCode[] values()
for (AzureServiceErrorCode c : AzureServiceErrorCode.values()) System.out.println(c);
public static AzureServiceErrorCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getStatusCode()
public String getErrorCode()
public static List<AzureServiceErrorCode> getAzureServiceCode(int httpStatusCode)
public static AzureServiceErrorCode getAzureServiceCode(int httpStatusCode, String errorCode)
public static AzureServiceErrorCode getAzureServiceCode(int httpStatusCode, String errorCode, String errorMessage)
Copyright © 2023 Apache Software Foundation. All rights reserved.