Package | Description |
---|---|
org.tinygroup.exception | |
org.tinygroup.exception.constant | |
org.tinygroup.exception.errorcode |
Modifier and Type | Method and Description |
---|---|
ErrorType |
ErrorCode.getErrorType() |
Modifier and Type | Method and Description |
---|---|
void |
ErrorCode.setErrorType(ErrorType errorType) |
Modifier and Type | Method and Description |
---|---|
static ErrorType |
ErrorType.find(String code) |
static ErrorType |
ErrorType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorType[] |
ErrorType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Field and Description |
---|---|
protected ErrorType |
AbstractErrorCode.errorType
错误类型
ErrorTypes 定义 |
Modifier and Type | Method and Description |
---|---|
ErrorType |
AbstractErrorCode.getErrorType() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractErrorCode.setErrorType(ErrorType errorType) |
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.