Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrescobar2011-08-31 01:43:13 +0000
committerRyan D. Brooks2011-08-31 01:43:13 +0000
commitc4d02f1743ca4ab01fca3466acd79301f0926df8 (patch)
tree22e762623fb0a3b278e2213319c785b39f9f18d9
parentfad4e4a36f3c7955b1bb37bfbf2a1b07f9321b9b (diff)
downloadorg.eclipse.osee-c4d02f1743ca4ab01fca3466acd79301f0926df8.tar.gz
org.eclipse.osee-c4d02f1743ca4ab01fca3466acd79301f0926df8.tar.xz
org.eclipse.osee-c4d02f1743ca4ab01fca3466acd79301f0926df8.zip
refinement: Update DbService unavailable message
-rw-r--r--plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/navigate/NavigateView.java3
-rw-r--r--plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/util/DbConnectionExceptionComposite.java2
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/navigate/NavigateView.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/navigate/NavigateView.java
index 84f628ad0ad..d2449394de9 100644
--- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/navigate/NavigateView.java
+++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/navigate/NavigateView.java
@@ -126,7 +126,8 @@ public class NavigateView extends ViewPart implements IActionable, IXNavigateEve
if (!DbConnectionExceptionComposite.dbConnectionIsOk(parent)) {
parent.getParent().layout(true);
parent.layout(true);
- return new Status(IStatus.ERROR, Activator.PLUGIN_ID, "Navigate View - !dbConnectionIsOk");
+
+ return new Status(IStatus.ERROR, Activator.PLUGIN_ID, "Osee Services are NOT available");
} else {
xNavComp = new AtsNavigateComposite(AtsNavigateViewItems.getInstance(), parent, SWT.NONE);
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/util/DbConnectionExceptionComposite.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/util/DbConnectionExceptionComposite.java
index 8dcd01f05df..740819da2c5 100644
--- a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/util/DbConnectionExceptionComposite.java
+++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/util/DbConnectionExceptionComposite.java
@@ -36,7 +36,7 @@ public class DbConnectionExceptionComposite extends ExceptionComposite {
// }
Result result = OseeUiActivator.areOSEEServicesAvailable();
if (result.isFalse()) {
- new DbConnectionExceptionComposite(parent, new IllegalStateException(
+ new DbConnectionExceptionComposite(parent, new Exception(
"OSEE Service(s) Unavailable:\n\t" + result.getText().replaceAll("\n", "\n\t")));
}
return result.isTrue();

Back to the top