org.dspace.eperson
Class EPersonDeletionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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

Constructor Summary
EPersonDeletionException()
          Create an empty EPersonDeletionException
EPersonDeletionException(Vector tableList)
          Create an EPersonDeletionException
 
Method Summary
 Vector getTables()
          Return the list of offending tables.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.
Method Detail

getTables

public Vector getTables()
Return the list of offending tables.

Returns:
The tables in which the eperson ID exists.


Copyright © 2010 DuraSpace. All Rights Reserved.