Enum ConfigurationException.ErrorCodes
- java.lang.Object
-
- java.lang.Enum<ConfigurationException.ErrorCodes>
-
- com.microsoft.semantickernel.exceptions.ConfigurationException.ErrorCodes
-
- All Implemented Interfaces:
Serializable,Comparable<ConfigurationException.ErrorCodes>
- Enclosing class:
- ConfigurationException
public static enum ConfigurationException.ErrorCodes extends Enum<ConfigurationException.ErrorCodes>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONFIGURATION_NOT_FOUNDCOULD_NOT_READ_CONFIGURATIONNO_VALID_CONFIGURATIONS_FOUNDUNKNOWN_ERRORVALUE_NOT_FOUND
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()StringgetMessage(String param)static ConfigurationException.ErrorCodesvalueOf(String name)Returns the enum constant of this type with the specified name.static ConfigurationException.ErrorCodes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN_ERROR
public static final ConfigurationException.ErrorCodes UNKNOWN_ERROR
-
CONFIGURATION_NOT_FOUND
public static final ConfigurationException.ErrorCodes CONFIGURATION_NOT_FOUND
-
COULD_NOT_READ_CONFIGURATION
public static final ConfigurationException.ErrorCodes COULD_NOT_READ_CONFIGURATION
-
NO_VALID_CONFIGURATIONS_FOUND
public static final ConfigurationException.ErrorCodes NO_VALID_CONFIGURATIONS_FOUND
-
VALUE_NOT_FOUND
public static final ConfigurationException.ErrorCodes VALUE_NOT_FOUND
-
-
Method Detail
-
values
public static ConfigurationException.ErrorCodes[] 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 (ConfigurationException.ErrorCodes c : ConfigurationException.ErrorCodes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConfigurationException.ErrorCodes 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
-
getMessage
public String getMessage()
-
-