Package | Description |
---|---|
org.xaffect.core.common |
Modifier and Type | Method and Description |
---|---|
Error.ErrorLevel |
Error.getLevel()
Returns an
Error.ErrorLevel describing the severity of the error. |
static Error.ErrorLevel |
Error.ErrorLevel.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Error.ErrorLevel[] |
Error.ErrorLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
Error(SystemComponent component,
Error.ErrorLevel level)
Creates a new
Error containing information about the
SystemComponent the error occurred in, as well as the severity of
the error in form of an Error.ErrorLevel . |
Error(SystemComponent component,
Error.ErrorLevel level,
java.lang.String message)
Creates a new
Error containing information about the
SystemComponent the error occurred in, the severity of the error
in form of an Error.ErrorLevel , as well as a message describing the
error. |