public class ExceptionUtils extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ExceptionUtils.NetExceptionType |
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
CONNECT_EXCEPTION_CLASS_NAME |
static String |
CONNECT_TIME_OUT_EXCEPTION_CLASS_NAME |
static String |
CONNECT_TIMED_OUT |
static int |
MAX_CAUSE_DEP |
static String |
READ_TIME_OUT_EXCEPTION_CLASS_NAME |
| 构造器和说明 |
|---|
ExceptionUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static EngineExecutionException |
createEngineExecutionException(Exception e,
FrameworkErrorCode code,
String message,
StateMachineInstance stateMachineInstance,
StateInstance stateInstance) |
static EngineExecutionException |
createEngineExecutionException(Exception e,
FrameworkErrorCode code,
String message,
StateMachineInstance stateMachineInstance,
String stateName) |
static EngineExecutionException |
createEngineExecutionException(FrameworkErrorCode code,
String message,
StateMachineInstance stateMachineInstance,
StateInstance stateInstance) |
static ExceptionUtils.NetExceptionType |
getNetExceptionType(Throwable throwable)
getNetExceptionType
|
static boolean |
isNetException(Throwable throwable)
Determine if the it is network exception
|
public static final String CONNECT_TIME_OUT_EXCEPTION_CLASS_NAME
public static final String READ_TIME_OUT_EXCEPTION_CLASS_NAME
public static final int MAX_CAUSE_DEP
public static EngineExecutionException createEngineExecutionException(Exception e, FrameworkErrorCode code, String message, StateMachineInstance stateMachineInstance, StateInstance stateInstance)
public static EngineExecutionException createEngineExecutionException(FrameworkErrorCode code, String message, StateMachineInstance stateMachineInstance, StateInstance stateInstance)
public static EngineExecutionException createEngineExecutionException(Exception e, FrameworkErrorCode code, String message, StateMachineInstance stateMachineInstance, String stateName)
public static ExceptionUtils.NetExceptionType getNetExceptionType(Throwable throwable)
throwable - public static boolean isNetException(Throwable throwable)
throwable - Copyright © 2022 Seata. All rights reserved.