private void computeUnmigrated() {
   IMonitorModelBase[] models = MonitorRegistry.getWorkspaceModels();
   ArrayList modelArray = new ArrayList();
   try {
     for (int i = 0; i < models.length; i++) {
       if (models[i].getUnderlyingResource().getProject().hasNature(JavaCore.NATURE_ID))
         modelArray.add(models[i]);
     }
   } catch (CoreException e) {
     MDEPlugin.logException(e);
   }
   fUnmigrated =
       (IMonitorModelBase[]) modelArray.toArray(new IMonitorModelBase[modelArray.size()]);
 }
 public static void logException(Throwable e) {
   logException(e, null, null);
 }