org.dspace.eperson
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:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
EPersonDeletionException
public EPersonDeletionException()
- Create an empty EPersonDeletionException
EPersonDeletionException
public EPersonDeletionException(Vector tableList)
- Create an EPersonDeletionException
- Parameters:
tableList - tables in which the eperson ID exists. An person cannot be
deleted if it exists in these tables.
getTables
public Vector getTables()
- Return the list of offending tables.
- Returns:
- The tables in which the eperson ID exists.
Copyright © 2010 The DSpace Foundation. All Rights Reserved.