minor
[taxeditor.git] / eu.etaxonomy.taxeditor.bulkeditor / src / main / java / eu / etaxonomy / taxeditor / annotatedlineeditor / IEntityPersistenceService.java
index 7c292c52dc428218757f4ddca4eca08236b09345..39acd4ff0fd996a8c7b58dc9b17dcfdf267b56a4 100644 (file)
@@ -10,6 +10,8 @@
 
 package eu.etaxonomy.taxeditor.annotatedlineeditor;
 
+import eu.etaxonomy.cdm.api.service.exception.ReferencedObjectUndeletableException;
+
 
 /**
  * Performs the retrieving and saving of a list of entities edited by a <code>ListEditor</code>,
@@ -53,6 +55,7 @@ public interface IEntityPersistenceService<T> {
         *
         * @param entity a {@link java.lang.Object} object.
         * @return a boolean.
+        * @throws ReferencedObjectUndeletableException 
         */
-       boolean delete(T entity);
+       boolean delete(T entity) throws ReferencedObjectUndeletableException;
 }