public class ErrorCodeLength16 extends AbstractErrorCode
Modifier and Type | Field and Description |
---|---|
static String |
UNKNOWN_BIZ_ERROR
未知业务异常
|
static String |
UNKNOWN_ERROR
未知系统异常
|
static String |
UNKNOWN_EXT_ERROR
未知扩展系统异常
|
static String |
UNKNOWN_SYSTEM_ERROR
未知系统异常
|
static String |
UNKNOWN_THIRD_PARTY_ERROR
未知第三方异常
|
DEFAULT_PREFIX, DEFAULT_VERSION, errorLevel, errorNumber, errorPrefix, errorScene, errorType, LEVEL, NUMBER, PREFIX, SCENE, TYPE, version
Constructor and Description |
---|
ErrorCodeLength16() |
ErrorCodeLength16(ErrorType errorType,
ErrorLevel errorLevel,
int errorScene,
int errorNumber,
String errorPrefix) |
Modifier and Type | Method and Description |
---|---|
protected String |
getErrorCodeFormatString() |
protected int[] |
getFieldLength() |
boolean |
isMatch(String errorCodeStr)
错误码长度匹配
|
assertLength, getErrorLevel, getErrorNumber, getErrorPrefix, getErrorScene, getErrorType, getVersion, parse, setErrorLevel, setErrorNumber, setErrorPrefix, setErrorScene, setErrorType, setVersion, toString
public static final String UNKNOWN_ERROR
public static final String UNKNOWN_SYSTEM_ERROR
public static final String UNKNOWN_EXT_ERROR
public static final String UNKNOWN_BIZ_ERROR
public static final String UNKNOWN_THIRD_PARTY_ERROR
public ErrorCodeLength16()
public ErrorCodeLength16(ErrorType errorType, ErrorLevel errorLevel, int errorScene, int errorNumber, String errorPrefix)
protected int[] getFieldLength()
getFieldLength
in class AbstractErrorCode
protected String getErrorCodeFormatString()
getErrorCodeFormatString
in class AbstractErrorCode
public boolean isMatch(String errorCodeStr)
ErrorCodeParser
Copyright © 2006–2018 TinyGroup. All rights reserved.