| 程序包 | 说明 |
|---|---|
| io.seata.common.exception | |
| io.seata.saga.engine.exception | |
| io.seata.saga.engine.utils |
| 限定符和类型 | 方法和说明 |
|---|---|
FrameworkErrorCode |
FrameworkException.getErrcode()
Gets errcode.
|
static FrameworkErrorCode |
FrameworkErrorCode.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static FrameworkErrorCode[] |
FrameworkErrorCode.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 构造器和说明 |
|---|
DataAccessException(FrameworkErrorCode err)
constructor with framework error code
|
DataAccessException(String msg,
FrameworkErrorCode errCode)
constructor with msg and framework error code
|
DataAccessException(Throwable cause,
String msg,
FrameworkErrorCode errCode)
constructor with cause and msg and framework error code
|
FrameworkException(FrameworkErrorCode err)
Instantiates a new Framework exception.
|
FrameworkException(String msg,
FrameworkErrorCode errCode)
Instantiates a new Framework exception.
|
FrameworkException(Throwable cause,
String msg,
FrameworkErrorCode errCode)
Instantiates a new Framework exception.
|
RedisException(FrameworkErrorCode err)
Instantiates a new Redis exception.
|
RedisException(String msg,
FrameworkErrorCode errCode)
Instantiates a new Redis exception.
|
RedisException(Throwable cause,
String msg,
FrameworkErrorCode errCode)
Instantiates a new Redis exception.
|
StoreException(FrameworkErrorCode err)
Instantiates a new Store exception.
|
StoreException(String msg,
FrameworkErrorCode errCode)
Instantiates a new Store exception.
|
StoreException(Throwable cause,
String msg,
FrameworkErrorCode errCode)
Instantiates a new Store exception.
|
| 构造器和说明 |
|---|
EngineExecutionException(FrameworkErrorCode err) |
EngineExecutionException(String msg,
FrameworkErrorCode errCode) |
EngineExecutionException(Throwable cause,
String msg,
FrameworkErrorCode errCode) |
ForwardInvalidException(FrameworkErrorCode err) |
ForwardInvalidException(String msg,
FrameworkErrorCode errCode) |
ForwardInvalidException(Throwable cause,
String msg,
FrameworkErrorCode errCode) |
| 限定符和类型 | 方法和说明 |
|---|---|
static EngineExecutionException |
ExceptionUtils.createEngineExecutionException(Exception e,
FrameworkErrorCode code,
String message,
StateMachineInstance stateMachineInstance,
StateInstance stateInstance) |
static EngineExecutionException |
ExceptionUtils.createEngineExecutionException(Exception e,
FrameworkErrorCode code,
String message,
StateMachineInstance stateMachineInstance,
String stateName) |
static EngineExecutionException |
ExceptionUtils.createEngineExecutionException(FrameworkErrorCode code,
String message,
StateMachineInstance stateMachineInstance,
StateInstance stateInstance) |
Copyright © 2020 Seata. All rights reserved.