producing the topic-pages at open-posting is to heavy, that has to be more intelligent
[mir.git] / source / mir / entity / AbstractEntity.java
index aed7e85..dddb33f 100755 (executable)
@@ -204,6 +204,12 @@ public class AbstractEntity implements Entity
   public int getInstances() {
      return instances;
   }
+
+  protected void throwStorageObjectException (Exception e, String wo) throws StorageObjectException {
+    theLog.printError( e.toString() + " Funktion: "+ wo);
+    throw  new StorageObjectException("Storage Object Exception in entity" +e.toString());
+  }
+
   /**
    * Gibt eine Instanz frei
    */