public enum ESeverity extends java.lang.Enum<ESeverity>
Enumeration | Description |
---|---|
NORMAL | Normal severity without any special circumstances |
WARN | Warning severity with a warning circumstances, which possible can causes an output. But the user can deliver what to do next and the application will not finish in executing its task. |
ERROR | Error severity. This can (possibly) display an error message on screen before the application finishes. You can also open a dialog box with optional choices for the operator. |
FATAL | Fatal severity. Causes the application to exit immediately. You can also inform the operator about the fatal error and give a hint which person he should contact. |
Modifier and Type | Method and Description |
---|---|
static ESeverity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ESeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ESeverity NORMAL
public static final ESeverity WARN
public static final ESeverity ERROR
public static final ESeverity FATAL
public static ESeverity[] values()
for (ESeverity c : ESeverity.values()) System.out.println(c);
public static ESeverity valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null14-September-2016 18:23 Deutsches Elektronen-Synchrotron DESY in der Helmholtz-Gemeinschaft