Author: adietish
Date: 2010-12-16 13:28:26 -0500 (Thu, 16 Dec 2010)
New Revision: 27562
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewCloudConnectionWizard.java
Log:
[JBIDE-7911] corrected: throws exceptions on error (internal server error, connection
error etc)
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewCloudConnectionWizard.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewCloudConnectionWizard.java 2010-12-16
18:28:02 UTC (rev 27561)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewCloudConnectionWizard.java 2010-12-16
18:28:26 UTC (rev 27562)
@@ -89,7 +89,7 @@
String password = mainPage.getModel().getPassword();
try {
DeltaCloud newCloud = new DeltaCloud(name, url, username, password);
- return newCloud.testConnection();
+ return newCloud.testCredentials();
} catch (DeltaCloudException e) {
ErrorUtils.handleError(WizardMessages.getString("CloudConnectionAuthError.title"),
WizardMessages.getFormattedString("CloudConnectionAuthError.message",
url), e, getShell());
Show replies by date