atg.svc.repository.service.exception
Class ReferentialIntegrityException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by atg.svc.repository.service.exception.ReferentialIntegrityException
All Implemented Interfaces:
java.io.Serializable

public class ReferentialIntegrityException
extends java.lang.Exception

Exception that is thrown when attempt is made to delete an item that is still in use by another item. The exception will contain the repository id of the item that could be deleted.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
ReferentialIntegrityException(java.lang.String pItemId)
           
 
Method Summary
 java.lang.Object getItem()
          Gets the item id that could not be deleted.
 
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
 

Field Detail

CLASS_VERSION

public static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values
Constructor Detail

ReferentialIntegrityException

public ReferentialIntegrityException(java.lang.String pItemId)
Method Detail

getItem

public java.lang.Object getItem()
Gets the item id that could not be deleted.

Returns:
The item id that could not be deleted.