Class EPersonDeletionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.dspace.eperson.EPersonDeletionException
All Implemented Interfaces:
Serializable

public class EPersonDeletionException extends Exception
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 Details

    • EPersonDeletionException

      public EPersonDeletionException()
      Create an empty EPersonDeletionException
    • EPersonDeletionException

      public EPersonDeletionException(List<String> tableList)
      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

      public List<String> getTables()
      Return the list of offending tables.
      Returns:
      The tables in which the eperson ID exists.