public interface BaseException
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
COMMON_EXCEPTION_MESSAGE |
static String |
MYSQL_DATABASE
默认数据库
|
static String |
ORACLE_DATABASE |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getMessage()
获得异常消息信息。
|
String |
getMessage(Throwable t)
通过实际异常获取message
|
Throwable |
getThrowable()
获得实际产生的异常。
|
void |
setDatabase(String database)
设置数据库信息
|
Copyright © 2019. All rights reserved.