Class 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:
    Serialized Form
    • Constructor Detail

      • 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 Detail

      • getTables

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