提交 58086d8e 编写于 作者: J jurgen

Test connection error dialog fixed (avoid error analysis and reconnect button)

Former-commit-id: d233f3d7
上级 9d3192ac
...@@ -31,7 +31,6 @@ import org.jkiss.dbeaver.model.DBPDataSource; ...@@ -31,7 +31,6 @@ import org.jkiss.dbeaver.model.DBPDataSource;
import org.jkiss.dbeaver.model.DBPDataSourceProvider; import org.jkiss.dbeaver.model.DBPDataSourceProvider;
import org.jkiss.dbeaver.model.exec.DBCExecutionPurpose; import org.jkiss.dbeaver.model.exec.DBCExecutionPurpose;
import org.jkiss.dbeaver.model.exec.DBCSession; import org.jkiss.dbeaver.model.exec.DBCSession;
import org.jkiss.dbeaver.model.impl.jdbc.JDBCExecutionContext;
import org.jkiss.dbeaver.model.runtime.DBRProgressMonitor; import org.jkiss.dbeaver.model.runtime.DBRProgressMonitor;
import org.jkiss.dbeaver.model.runtime.DBRRunnableWithProgress; import org.jkiss.dbeaver.model.runtime.DBRRunnableWithProgress;
import org.jkiss.dbeaver.registry.DataSourceDescriptor; import org.jkiss.dbeaver.registry.DataSourceDescriptor;
...@@ -108,8 +107,11 @@ public abstract class ConnectionWizard extends Wizard implements INewWizard { ...@@ -108,8 +107,11 @@ public abstract class ConnectionWizard extends Wizard implements INewWizard {
UIUtils.showErrorDialog(getShell(), CoreMessages.dialog_connection_wizard_start_dialog_interrupted_title, UIUtils.showErrorDialog(getShell(), CoreMessages.dialog_connection_wizard_start_dialog_interrupted_title,
CoreMessages.dialog_connection_wizard_start_dialog_interrupted_message); CoreMessages.dialog_connection_wizard_start_dialog_interrupted_message);
} catch (InvocationTargetException ex) { } catch (InvocationTargetException ex) {
UIUtils.showErrorDialog(getShell(), CoreMessages.dialog_connection_wizard_start_dialog_error_title, UIUtils.showErrorDialog(
CoreMessages.dialog_connection_wizard_start_dialog_error_message, ex.getTargetException()); getShell(),
CoreMessages.dialog_connection_wizard_start_dialog_error_title,
null,
RuntimeUtils.makeExceptionStatus(ex.getTargetException()));
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册