Package | Description |
---|---|
marvin.util |
Utilities classes.
|
Modifier and Type | Method and Description |
---|---|
static MarvinErrorHandler.TYPE |
MarvinErrorHandler.TYPE.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MarvinErrorHandler.TYPE[] |
MarvinErrorHandler.TYPE.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.RuntimeException |
MarvinErrorHandler.handle(MarvinErrorHandler.TYPE type,
java.lang.Exception e)
Handles error returning a new RuntimeException
|
static java.lang.RuntimeException |
MarvinErrorHandler.handle(MarvinErrorHandler.TYPE type,
java.lang.String complement)
Handles error returning a new RuntimeException
|
static java.lang.RuntimeException |
MarvinErrorHandler.handle(MarvinErrorHandler.TYPE type,
java.lang.String complement,
java.lang.Exception e)
Handles error returning a new RuntimeException
|
static void |
MarvinErrorHandler.handleDialog(MarvinErrorHandler.TYPE type)
Handles error showing the message based on the enum error types
|
static void |
MarvinErrorHandler.handleDialog(MarvinErrorHandler.TYPE type,
java.lang.Exception err)
Handles error showing the message based on the enum error types and writing the StackTrace at console
|
static void |
MarvinErrorHandler.handleDialog(MarvinErrorHandler.TYPE type,
java.lang.String args)
Handles error showing the message based on the enum error types
|