public ModuleMediafolder(StorageObject theStorage)
{
- if (theLog == null) theLog = Logfile.getInstance(Configuration.getProperty("Home") + Configuration.getProperty("Module.Mediafolder.Logfile"));
+ if (theLog == null) theLog = Logfile.getInstance(MirConfig.getProp("Home") + MirConfig.getProp("Module.Mediafolder.Logfile"));
if (theStorage == null) theLog.printWarning("StorageObject was null!");
this.theStorage = theStorage;
}
// 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());
+ }
}