public static enum Error.ErrorLevel extends java.lang.Enum<Error.ErrorLevel>
Enum Constant and Description |
---|
VIR_ERR_ERROR
An error
|
VIR_ERR_NONE |
VIR_ERR_UNKNOWN |
VIR_ERR_WARNING
A simple warning
|
Modifier and Type | Method and Description |
---|---|
static Error.ErrorLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Error.ErrorLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
protected static Error.ErrorLevel |
wrap(int value) |
public static final Error.ErrorLevel VIR_ERR_NONE
public static final Error.ErrorLevel VIR_ERR_WARNING
public static final Error.ErrorLevel VIR_ERR_ERROR
public static final Error.ErrorLevel VIR_ERR_UNKNOWN
public static Error.ErrorLevel[] values()
for (Error.ErrorLevel c : Error.ErrorLevel.values()) System.out.println(c);
public static Error.ErrorLevel 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 nullprotected static final Error.ErrorLevel wrap(int value)