Enum PlanningException.ErrorCodes
- java.lang.Object
-
- java.lang.Enum<PlanningException.ErrorCodes>
-
- com.microsoft.semantickernel.planner.PlanningException.ErrorCodes
-
- All Implemented Interfaces:
Serializable,Comparable<PlanningException.ErrorCodes>
- Enclosing class:
- PlanningException
public static enum PlanningException.ErrorCodes extends Enum<PlanningException.ErrorCodes>
Error codes for PlanningException
-
-
Enum Constant Summary
Enum Constants Enum Constant Description InvalidConfigurationInvalidGoalInvalidPlanUnknownError
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()static PlanningException.ErrorCodesvalueOf(String name)Returns the enum constant of this type with the specified name.static PlanningException.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 PlanningException.ErrorCodes UnknownError
-
InvalidGoal
public static final PlanningException.ErrorCodes InvalidGoal
-
InvalidPlan
public static final PlanningException.ErrorCodes InvalidPlan
-
InvalidConfiguration
public static final PlanningException.ErrorCodes InvalidConfiguration
-
-
Method Detail
-
values
public static PlanningException.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 (PlanningException.ErrorCodes c : PlanningException.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 PlanningException.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()
-
-