Package | Description |
---|---|
org.tinygroup.exception | |
org.tinygroup.exception.constant | |
org.tinygroup.exception.errorcode |
Modifier and Type | Method and Description |
---|---|
ErrorLevel |
ErrorCode.getErrorLevel() |
Modifier and Type | Method and Description |
---|---|
void |
ErrorCode.setErrorLevel(ErrorLevel errorLevel) |
Modifier and Type | Method and Description |
---|---|
static ErrorLevel |
ErrorLevel.find(String code) |
static ErrorLevel |
ErrorLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorLevel[] |
ErrorLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Field and Description |
---|---|
protected ErrorLevel |
AbstractErrorCode.errorLevel
错误级别,见
ErrorLevels 定义 |
Modifier and Type | Method and Description |
---|---|
ErrorLevel |
AbstractErrorCode.getErrorLevel() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractErrorCode.setErrorLevel(ErrorLevel errorLevel) |
Constructor and Description |
---|
AbstractErrorCode(String version,
ErrorType errorType,
ErrorLevel errorLevel,
int errorScene,
int errorNumber,
String errorPrefix) |
ErrorCodeDefault(ErrorType errorType,
ErrorLevel errorLevel,
int errorScene,
int errorNumber,
String errorPrefix) |
ErrorCodeLength16(ErrorType errorType,
ErrorLevel errorLevel,
int errorScene,
int errorNumber,
String errorPrefix) |
Copyright © 2006–2018 TinyGroup. All rights reserved.