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 ConfigurationNotFoundCouldNotReadConfigurationNoValidConfigurationsFoundUnknownErrorValueNotFound
-
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
-
UnknownError
public static final ConfigurationException.ErrorCodes UnknownError
-
ConfigurationNotFound
public static final ConfigurationException.ErrorCodes ConfigurationNotFound
-
CouldNotReadConfiguration
public static final ConfigurationException.ErrorCodes CouldNotReadConfiguration
-
NoValidConfigurationsFound
public static final ConfigurationException.ErrorCodes NoValidConfigurationsFound
-
ValueNotFound
public static final ConfigurationException.ErrorCodes ValueNotFound
-
-
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()
-
-