public class SsdbException extends RuntimeException
| 限定符和类型 | 字段和说明 |
|---|---|
protected static ThreadLocal<SsdbException> |
EXCEPTION_HOLDER
当需要重试时,上次的失败信息暂存在这里。
|
| 构造器和说明 |
|---|
SsdbException() |
SsdbException(String message) |
SsdbException(String message,
Throwable cause) |
SsdbException(Throwable cause) |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
clearThreadLocal()
清理可能遗留在 ThreadLocal 中的异常信息
|
String |
getServerErrorCode() |
void |
setServerErrorCode(String serverErrorCode) |
protected static final ThreadLocal<SsdbException> EXCEPTION_HOLDER
Copyright © 2021. All rights reserved.