Package org.dspace.eperson
Class EPersonDeletionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.dspace.eperson.EPersonDeletionException
- All Implemented Interfaces:
Serializable
Exception indicating that an EPerson may not be deleted due to the presence
of the EPerson's ID in certain tables
- Author:
- Grace Carpenter
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreate an empty EPersonDeletionExceptionEPersonDeletionException(List<String> tableList) Create an EPersonDeletionException -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EPersonDeletionException
public EPersonDeletionException()Create an empty EPersonDeletionException -
EPersonDeletionException
Create an EPersonDeletionException- Parameters:
tableList- tables in which the eperson ID exists. An person cannot be deleted if it exists in these tables.
-
-
Method Details
-
getTables
Return the list of offending tables.- Returns:
- The tables in which the eperson ID exists.
-