| 程序包 | 说明 |
|---|---|
| marvin.util |
| 限定符和类型 | 方法和说明 |
|---|---|
static MarvinErrorHandler.TYPE |
MarvinErrorHandler.TYPE.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static MarvinErrorHandler.TYPE[] |
MarvinErrorHandler.TYPE.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static RuntimeException |
MarvinErrorHandler.handle(MarvinErrorHandler.TYPE type,
Exception e)
Handles error returning a new RuntimeException
|
static RuntimeException |
MarvinErrorHandler.handle(MarvinErrorHandler.TYPE type,
String complement)
Handles error returning a new RuntimeException
|
static RuntimeException |
MarvinErrorHandler.handle(MarvinErrorHandler.TYPE type,
String complement,
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,
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,
String args)
Handles error showing the message based on the enum error types
|
Copyright © 2018. All rights reserved.