public class ResourceException extends RuntimeException
| Modifier and Type | Field and Description |
|---|---|
static ThreadLocal<ResourceException> |
MQ_THREAD_EXCEPTION |
| Constructor and Description |
|---|
ResourceException(String msgId,
String message)
需要在通常情况下需要输入异常代码,及其所需的相关参数。
|
ResourceException(String msgId,
String message,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getArgs()
返回 操作码对应的关键信息
|
String |
getMsgCode()
返回 操作编码
|
String |
getMsgInfo() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final ThreadLocal<ResourceException> MQ_THREAD_EXCEPTION
Copyright © 2018. All rights reserved.