Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/change/presenter/SpecificTxsHandler.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/change/presenter/SpecificTxsHandler.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/change/presenter/SpecificTxsHandler.java
index 1512efe50a4..ed8b662b392 100644
--- a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/change/presenter/SpecificTxsHandler.java
+++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/change/presenter/SpecificTxsHandler.java
@@ -12,6 +12,7 @@ package org.eclipse.osee.framework.ui.skynet.change.presenter;
import java.text.NumberFormat;
import java.util.logging.Level;
+import org.eclipse.osee.framework.core.exception.TransactionDoesNotExist;
import org.eclipse.osee.framework.core.model.TransactionDelta;
import org.eclipse.osee.framework.jdk.core.type.OseeCoreException;
import org.eclipse.osee.framework.jdk.core.util.AXml;
@@ -47,7 +48,13 @@ public final class SpecificTxsHandler implements IChangeReportUiHandler {
OseeLog.log(Activator.class, Level.SEVERE, ex.toString(), ex);
branchName = "Unknown";
}
- String toReturn = TransactionManager.getComment(txDelta.getEndTx());
+
+ String toReturn = null;
+ try {
+ toReturn = TransactionManager.getComment(txDelta.getEndTx());
+ } catch (TransactionDoesNotExist ex) {
+ toReturn = "Not Found";
+ }
if (!Strings.isValid(toReturn)) {
toReturn = String.format("%s - Transactions", branchName);
}

Back to the top