]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.ui/src/org/simantics/ui/WorkbenchWindowSessionContextProviderSource.java
Removed contact application support prints
[simantics/platform.git] / bundles / org.simantics.ui / src / org / simantics / ui / WorkbenchWindowSessionContextProviderSource.java
index 76085143243c793fb9737a595ba7ee73a094d9ce..8274facefd89adbdd76168654bf0902c5a2047f8 100644 (file)
@@ -161,7 +161,7 @@ public class WorkbenchWindowSessionContextProviderSource implements ISessionCont
         synchronized (providers) {
             if (providers.put(context, p) != null) {
                 // This is a bug, should never happen.
-                throw new Error("Bug encountered, contact application support with stack trace.");
+                throw new Error("Unexpected bug, this should never happen!");
             }
             allProviders = providers.values().toArray(ZERO);
         }
@@ -172,7 +172,7 @@ public class WorkbenchWindowSessionContextProviderSource implements ISessionCont
             ISessionContextProvider provider = providers.remove(context);
             if (provider == null) {
                 // This is a bug, should never happen.
-                throw new Error("Bug encountered, contact application support with stack trace.");
+                throw new Error("Unexpected bug, this should never happen!");
             }
             allProviders = providers.values().toArray(ZERO);