Enum AzureTelemeter.ErrorType
- java.lang.Object
-
- java.lang.Enum<AzureTelemeter.ErrorType>
-
- com.microsoft.azure.toolkit.lib.common.telemetry.AzureTelemeter.ErrorType
-
- All Implemented Interfaces:
Serializable,Comparable<AzureTelemeter.ErrorType>
- Enclosing class:
- AzureTelemeter
private static enum AzureTelemeter.ErrorType extends Enum<AzureTelemeter.ErrorType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description serviceErrorsystemErrortoolErrorunclassifiedErroruserError
-
Constructor Summary
Constructors Modifier Constructor Description privateErrorType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AzureTelemeter.ErrorTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AzureTelemeter.ErrorType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
userError
public static final AzureTelemeter.ErrorType userError
-
systemError
public static final AzureTelemeter.ErrorType systemError
-
serviceError
public static final AzureTelemeter.ErrorType serviceError
-
toolError
public static final AzureTelemeter.ErrorType toolError
-
unclassifiedError
public static final AzureTelemeter.ErrorType unclassifiedError
-
-
Method Detail
-
values
public static AzureTelemeter.ErrorType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AzureTelemeter.ErrorType c : AzureTelemeter.ErrorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AzureTelemeter.ErrorType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-