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

GQL error extensions. Connection open

上级 ad26d19b
......@@ -76,6 +76,7 @@ Export-Package: org.jkiss.dbeaver,
org.jkiss.dbeaver.runtime.resource,
org.jkiss.dbeaver.runtime.resource.links,
org.jkiss.dbeaver.runtime.ui,
org.jkiss.dbeaver.runtime.ui.console,
org.jkiss.dbeaver.utils
Bundle-ClassPath: .
Require-Bundle: org.eclipse.equinox.security,
......
......@@ -31,6 +31,8 @@ public class DBException extends Exception
{
private static final long serialVersionUID = 1L;
public static final int ERROR_CODE_NONE = -1;
private final DBPDataSource dataSource;
private final boolean hasMessage;
......@@ -87,7 +89,7 @@ public class DBException extends Exception
} else if (cause instanceof DBException) {
return ((DBException) cause).getErrorCode();
} else {
return -1;
return ERROR_CODE_NONE;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册