提交 e68fa6a3 编写于 作者: S serge-rider

Error to status mapping fix


Former-commit-id: aea0fb91
上级 eac60f5c
......@@ -460,6 +460,10 @@ public class GeneralUtils {
private static IStatus makeExceptionStatus(int severity, Throwable ex, boolean nested)
{
// Skip chain of nested DBExceptions. Show only last message
while (ex instanceof DBException && ex.getCause() instanceof DBException) {
ex = ex.getCause();
}
Throwable cause = ex.getCause();
SQLException nextError = null;
if (ex instanceof SQLException) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册