media_id -> to_media
[mir.git] / source / mircoders / module / ModuleMediafolder.java
index 14dbcdd..4609e06 100755 (executable)
@@ -42,8 +42,12 @@ public class ModuleMediafolder extends AbstractModule
 
        // Methoden
 
-               public SimpleList getPopupData() {
-                       return ((DatabaseMediafolder)theStorage).getPopupData();
+               public SimpleList getPopupData() throws ModuleException {
+      try {
+                         return ((DatabaseMediafolder)theStorage).getPopupData();
+      } catch (Exception e) {
+        throw new ModuleException(e.toString());
+      }
                }