public enum FrameworkErrorCode extends Enum<FrameworkErrorCode>
| 枚举常量和说明 |
|---|
ChannelIsNotWritable
Channel is not writable framework error code.
|
ChannelNotWritable
Channel not writable framework error code.
|
ExceptionCaught
Exception caught framework error code.
|
getChannelError
Get channel error framework error code.
|
InitSeataClientError
The Init services client error.
|
InvalidConfiguration
Invalid configuration framework error code.
|
NetConnect
0101 ~ 0199 Network related error.
|
NetDisconnect
The Net disconnect.
|
NetDispatch
The Net dispatch.
|
NetOnMessage
The Net on message.
|
NetRegAppname
The Net reg appname.
|
NoAvailableService
No available service framework error code.
|
NullRuleError
The Null rule error.
|
RegisterRM
Register rm framework error code.
|
SendHalfMessageFailed
Send half message failed framework error code.
|
ThreadPoolFull
0001 ~ 0099 Configuration related errors
|
UnknownAppError
Undefined error
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getErrCode() |
String |
getErrDispose() |
String |
getErrMessage() |
String |
toString() |
static FrameworkErrorCode |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static FrameworkErrorCode[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final FrameworkErrorCode ThreadPoolFull
public static final FrameworkErrorCode InitSeataClientError
public static final FrameworkErrorCode NullRuleError
public static final FrameworkErrorCode NetConnect
public static final FrameworkErrorCode NetRegAppname
public static final FrameworkErrorCode NetDisconnect
public static final FrameworkErrorCode NetDispatch
public static final FrameworkErrorCode NetOnMessage
public static final FrameworkErrorCode getChannelError
public static final FrameworkErrorCode ChannelNotWritable
public static final FrameworkErrorCode SendHalfMessageFailed
public static final FrameworkErrorCode ChannelIsNotWritable
public static final FrameworkErrorCode NoAvailableService
public static final FrameworkErrorCode InvalidConfiguration
public static final FrameworkErrorCode ExceptionCaught
public static final FrameworkErrorCode RegisterRM
public static final FrameworkErrorCode UnknownAppError
public static FrameworkErrorCode[] values()
for (FrameworkErrorCode c : FrameworkErrorCode.values()) System.out.println(c);
public static FrameworkErrorCode valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getErrCode()
public String getErrMessage()
public String getErrDispose()
public String toString()
toString 在类中 Enum<FrameworkErrorCode>Copyright © 2019 Seata. All rights reserved.