public ModuleTopics(StorageObject theStorage) {
this.theStorage = theStorage;
if (theLog == null)
- theLog = Logfile.getInstance(Configuration.getProperty("Home") + Configuration.getProperty("Module.Themen.Logfile"));
+ theLog = Logfile.getInstance(MirConfig.getProp("Home") + MirConfig.getProp("Module.Themen.Logfile"));
}
- public SimpleList getTopicsAsSimpleList() {
- return ((DatabaseTopics)theStorage).getPopupData();
+ public SimpleList getTopicsAsSimpleList() throws ModuleException {
+ try {
+ return ((DatabaseTopics)theStorage).getPopupData();
+ } catch(StorageObjectException e) {
+ throw new ModuleException(e.toString());
+ }
}
}