Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorddunne2011-03-09 10:46:12 -0500
committerRyan D. Brooks2011-03-09 10:46:12 -0500
commit76c865418c1401a32e47c9703744ee651ffbe03e (patch)
tree09c139ddb3042ac200ae732cbe0d9dd5d22e64c6 /plugins/org.eclipse.osee.coverage
parentc8808082e673367facc223c0c1486e2097d38ffb (diff)
downloadorg.eclipse.osee-76c865418c1401a32e47c9703744ee651ffbe03e.tar.gz
org.eclipse.osee-76c865418c1401a32e47c9703744ee651ffbe03e.tar.xz
org.eclipse.osee-76c865418c1401a32e47c9703744ee651ffbe03e.zip
feature: Coverage - Save failure needs to popup dialog and log error
Diffstat (limited to 'plugins/org.eclipse.osee.coverage')
-rw-r--r--plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/store/OseeCoveragePackageStore.java3
-rw-r--r--plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/store/OseeCoverageStore.java4
2 files changed, 4 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/store/OseeCoveragePackageStore.java b/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/store/OseeCoveragePackageStore.java
index 78633ba439..a9c61a9e57 100644
--- a/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/store/OseeCoveragePackageStore.java
+++ b/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/store/OseeCoveragePackageStore.java
@@ -39,6 +39,7 @@ import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.core.model.Branch;
import org.eclipse.osee.framework.jdk.core.util.Lib;
import org.eclipse.osee.framework.jdk.core.util.Strings;
+import org.eclipse.osee.framework.logging.OseeLevel;
import org.eclipse.osee.framework.logging.OseeLog;
import org.eclipse.osee.framework.plugin.core.util.OseeData;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
@@ -237,7 +238,7 @@ public class OseeCoveragePackageStore extends OseeCoverageStore implements ISave
transaction.execute();
CoverageEventManager.getInstance().sendRemoteEvent(coverageEvent);
} catch (OseeCoreException ex) {
- OseeLog.log(Activator.class, Level.SEVERE, ex);
+ OseeLog.log(Activator.class, OseeLevel.SEVERE_POPUP, ex);
return new Result("Save Failed: " + ex.getLocalizedMessage());
}
return Result.TrueResult;
diff --git a/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/store/OseeCoverageStore.java b/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/store/OseeCoverageStore.java
index 85138840e4..a64cbe7bdf 100644
--- a/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/store/OseeCoverageStore.java
+++ b/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/store/OseeCoverageStore.java
@@ -10,7 +10,6 @@
*******************************************************************************/
package org.eclipse.osee.coverage.store;
-import java.util.logging.Level;
import org.eclipse.osee.coverage.event.CoverageEventManager;
import org.eclipse.osee.coverage.event.CoverageEventType;
import org.eclipse.osee.coverage.event.CoveragePackageEvent;
@@ -20,6 +19,7 @@ import org.eclipse.osee.framework.core.data.IArtifactType;
import org.eclipse.osee.framework.core.exception.ArtifactDoesNotExist;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.core.model.Branch;
+import org.eclipse.osee.framework.logging.OseeLevel;
import org.eclipse.osee.framework.logging.OseeLog;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
import org.eclipse.osee.framework.skynet.core.artifact.ArtifactTypeManager;
@@ -69,7 +69,7 @@ public abstract class OseeCoverageStore extends CoverageStore {
transaction.execute();
CoverageEventManager.getInstance().sendRemoteEvent(coverageEvent);
} catch (OseeCoreException ex) {
- OseeLog.log(Activator.class, Level.SEVERE, ex);
+ OseeLog.log(Activator.class, OseeLevel.SEVERE_POPUP, ex);
return new Result("Save Failed: " + ex.getLocalizedMessage());
}
return Result.TrueResult;

Back to the top