first cut of merge of STABLE-pre1_0 into HEAD. I won't even guarantee that it
[mir.git] / source / mircoders / module / ModuleSchwerpunkt.java
index a0c1cd2..3cab0fe 100755 (executable)
@@ -33,12 +33,17 @@ public class ModuleSchwerpunkt extends AbstractModule
                        this.theStorage = theStorage;
 
        if (theLog == null)
-       theLog = Logfile.getInstance(this.getClass().getName());
+       theLog = Logfile.getInstance(MirConfig.getProp("Home") + MirConfig.getProp("Module.Schwerpunkt.Logfile"));
 
                }
 
-               public SimpleList getSchwerpunktAsSimpleList() {
-                       return ((DatabaseFeature)theStorage).getPopupData();
+               public SimpleList getSchwerpunktAsSimpleList()
+      throws ModuleException {
+      try {
+                         return ((DatabaseFeature)theStorage).getPopupData();
+      } catch (StorageObjectException e) {
+        throw new ModuleException(e.toString());
+      }
                }
 }