com.ibm.tws.conn.exception
Class ConnSelfReferenceException

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.ConnSelfReferenceException
All Implemented Interfaces:
java.io.Serializable

public class ConnSelfReferenceException
extends ConnIntegrityException

This exception is thrown when trying to update an object that reference itself.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright
 
Constructor Summary
ConnSelfReferenceException(java.lang.String messageID, TWSKey key)
          Constructor
 
Method Summary
 TWSKey getSelfReferencedKey()
          Get the key of the object that reference itself
 
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

ConnSelfReferenceException

public ConnSelfReferenceException(java.lang.String messageID,
                                  TWSKey key)
Constructor

Parameters:
messageID - The identifier of the message in the connector's message catalog.
key - Key of the object that reference itself
Method Detail

getSelfReferencedKey

public TWSKey getSelfReferencedKey()
Get the key of the object that reference itself

Returns:
The key of the object that reference itself


Copyright © 2005 IBM All Rights Reserved.