public enum CoreErrorGroup extends Enum<CoreErrorGroup> implements ErrorGroup
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Short name for this group, used as a key when formatting error messages via
SnugglePackage.getErrorMessageBundle() |
SnugglePackage |
getPackage()
SnugglePackage defining this group |
static CoreErrorGroup |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoreErrorGroup[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoreErrorGroup TTE
public static final CoreErrorGroup TFE
public static final CoreErrorGroup TDE
public static CoreErrorGroup[] values()
for (CoreErrorGroup c : CoreErrorGroup.values()) System.out.println(c);
public static CoreErrorGroup valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getName()
ErrorGroupSnugglePackage.getErrorMessageBundle()getName in interface ErrorGrouppublic SnugglePackage getPackage()
ErrorGroupSnugglePackage defining this groupgetPackage in interface ErrorGroupCopyright © 2008–2026 The University of Edinburgh. All rights reserved.