Enum BasicTemplateErrorCategory
- java.lang.Object
-
- java.lang.Enum<BasicTemplateErrorCategory>
-
- com.hubspot.jinjava.interpret.errorcategory.BasicTemplateErrorCategory
-
- All Implemented Interfaces:
TemplateErrorCategory
,Serializable
,Comparable<BasicTemplateErrorCategory>
public enum BasicTemplateErrorCategory extends Enum<BasicTemplateErrorCategory> implements TemplateErrorCategory
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CYCLE_DETECTED
FROM_CYCLE_DETECTED
IMPORT_CYCLE_DETECTED
INCLUDE_CYCLE_DETECTED
UNKNOWN
UNKNOWN_DATE
UNKNOWN_LOCALE
UNKNOWN_PROPERTY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BasicTemplateErrorCategory
valueOf(String name)
Returns the enum constant of this type with the specified name.static BasicTemplateErrorCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CYCLE_DETECTED
public static final BasicTemplateErrorCategory CYCLE_DETECTED
-
IMPORT_CYCLE_DETECTED
public static final BasicTemplateErrorCategory IMPORT_CYCLE_DETECTED
-
INCLUDE_CYCLE_DETECTED
public static final BasicTemplateErrorCategory INCLUDE_CYCLE_DETECTED
-
FROM_CYCLE_DETECTED
public static final BasicTemplateErrorCategory FROM_CYCLE_DETECTED
-
UNKNOWN
public static final BasicTemplateErrorCategory UNKNOWN
-
UNKNOWN_DATE
public static final BasicTemplateErrorCategory UNKNOWN_DATE
-
UNKNOWN_LOCALE
public static final BasicTemplateErrorCategory UNKNOWN_LOCALE
-
UNKNOWN_PROPERTY
public static final BasicTemplateErrorCategory UNKNOWN_PROPERTY
-
-
Method Detail
-
values
public static BasicTemplateErrorCategory[] 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 (BasicTemplateErrorCategory c : BasicTemplateErrorCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BasicTemplateErrorCategory 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
-
-