Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrescobar2011-04-04 17:45:46 -0400
committerRyan D. Brooks2011-04-04 17:45:46 -0400
commit83f46d38f78a401c6944674beecac31d39f64e42 (patch)
tree4a09bf9ae6232188c884d13cf302edc7566ae260 /plugins/org.eclipse.osee.framework.lifecycle
parentd8883fdc192979211a028bf9350c0e2f390533dd (diff)
downloadorg.eclipse.osee-83f46d38f78a401c6944674beecac31d39f64e42.tar.gz
org.eclipse.osee-83f46d38f78a401c6944674beecac31d39f64e42.tar.xz
org.eclipse.osee-83f46d38f78a401c6944674beecac31d39f64e42.zip
bug: LifecycleService returns null status
Diffstat (limited to 'plugins/org.eclipse.osee.framework.lifecycle')
-rw-r--r--plugins/org.eclipse.osee.framework.lifecycle/src/org/eclipse/osee/framework/lifecycle/LifecycleServiceImpl.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/org.eclipse.osee.framework.lifecycle/src/org/eclipse/osee/framework/lifecycle/LifecycleServiceImpl.java b/plugins/org.eclipse.osee.framework.lifecycle/src/org/eclipse/osee/framework/lifecycle/LifecycleServiceImpl.java
index a098ad998cc..fa45bd295cc 100644
--- a/plugins/org.eclipse.osee.framework.lifecycle/src/org/eclipse/osee/framework/lifecycle/LifecycleServiceImpl.java
+++ b/plugins/org.eclipse.osee.framework.lifecycle/src/org/eclipse/osee/framework/lifecycle/LifecycleServiceImpl.java
@@ -18,6 +18,7 @@ import java.util.ArrayList;
import java.util.Collection;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Status;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.core.util.Conditions;
import org.eclipse.osee.framework.jdk.core.type.HashCollection;
@@ -49,6 +50,8 @@ public class LifecycleServiceImpl implements ILifecycleService {
break;
}
}
+ } else {
+ status = new Status(IStatus.ERROR, getClass().getName(), String.format("Error handler [%s] not found.", type));
}
return status;
}

Back to the top