com.ibm.tws.conn.exception
Class ConnDuplicationException

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

public class ConnDuplicationException
extends ConnIntegrityException

This exception is thrown when tring to create an object that already exist or when changing the key of an object with a key that belongs to an existing object.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright
 
Constructor Summary
ConnDuplicationException(TWSKey key)
          Constructor
 
Method Summary
 TWSKey getTwsKey()
          Get the key of the duplicated TWS Object
 
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

ConnDuplicationException

public ConnDuplicationException(TWSKey key)
Constructor

Parameters:
key - The TWS Object key of the duplicated object
Method Detail

getTwsKey

public TWSKey getTwsKey()
Get the key of the duplicated TWS Object

Returns:
The retrieved TWS Object key


Copyright © 2005 IBM All Rights Reserved.