com.ibm.tws.conn.exception
Class ConnExistReferenceException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.ibm.tws.util.exception.TWSException
              extended bycom.ibm.tws.conn.exception.ConnException
                  extended bycom.ibm.tws.conn.exception.ConnIntegrityException
                      extended bycom.ibm.tws.conn.exception.ConnExistReferenceException
All Implemented Interfaces:
java.io.Serializable

public class ConnExistReferenceException
extends ConnIntegrityException

This exception is thrown when trying to delete an object that is referenced by other objects

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright
 
Constructor Summary
ConnExistReferenceException(TWSKey key, java.util.List objs)
          Constructor
 
Method Summary
 TWSKey getObj()
          getter method return the object to delete
 java.util.List getObjsRef()
          getter method return objs that reference the object to be deleted
 
Methods inherited from class com.ibm.tws.conn.exception.ConnException
buildInsert, buildInsert2
 
Methods inherited from class com.ibm.tws.util.exception.TWSException
getArgs, getCauseMessage, getLocalizedMessage, getLocalizedMessage, getMessage, initialize, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Copyright

Constructor Detail

ConnExistReferenceException

public ConnExistReferenceException(TWSKey key,
                                   java.util.List objs)
Constructor

Parameters:
key - The TWS key of the object that should be deleted
objs - List of object that point to the object with key give in input
Method Detail

getObjsRef

public java.util.List getObjsRef()
getter method return objs that reference the object to be deleted

Returns:
The objs that reference the object to be deleted

getObj

public TWSKey getObj()
getter method return the object to delete

Returns:
The objs to delete


Copyright © 2005 IBM All Rights Reserved.