com.ibm.tws.conn.exception
Class ConnInvalidWorkstationHostException

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.ConnValidationException
                      extended bycom.ibm.tws.conn.exception.ConnInvalidWorkstationHostException
All Implemented Interfaces:
java.io.Serializable

public class ConnInvalidWorkstationHostException
extends ConnValidationException

This exception is thrown when a generic api used to create or modify a extended agent Workstation with an invalid host.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright
 
Constructor Summary
ConnInvalidWorkstationHostException(java.lang.String msgId, FlowTargetKey key)
          Constructor
ConnInvalidWorkstationHostException(java.lang.String msgId, FlowTargetKey key, FlowTargetKey hostKey)
          Constructor used when host is an xa, and not an fta workstation
ConnInvalidWorkstationHostException(java.lang.String msgId, FlowTargetKey key, WorkstationClass wsClass)
          Constructor used when host is a workstation class, and not an fta workstation
 
Method Summary
 FlowTargetKey getHostedWorkstationKey()
          Getter for hosted workstation key
 FlowTargetKey getHostingWorkstationKey()
          Getter for hosting workstation key
 
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

ConnInvalidWorkstationHostException

public ConnInvalidWorkstationHostException(java.lang.String msgId,
                                           FlowTargetKey key,
                                           WorkstationClass wsClass)
Constructor used when host is a workstation class, and not an fta workstation

Parameters:
msgId - The message Id
key - Hosted workstation key
wsClass - Host workstation class

ConnInvalidWorkstationHostException

public ConnInvalidWorkstationHostException(java.lang.String msgId,
                                           FlowTargetKey key,
                                           FlowTargetKey hostKey)
Constructor used when host is an xa, and not an fta workstation

Parameters:
msgId - The message Id
key - Hosted workstation key
hostKey - Host xa key

ConnInvalidWorkstationHostException

public ConnInvalidWorkstationHostException(java.lang.String msgId,
                                           FlowTargetKey key)
Constructor

Parameters:
msgId - The message Id
key - Hosted workstation key
Method Detail

getHostedWorkstationKey

public FlowTargetKey getHostedWorkstationKey()
Getter for hosted workstation key

Returns:
The hosted workstation key

getHostingWorkstationKey

public FlowTargetKey getHostingWorkstationKey()
Getter for hosting workstation key

Returns:
The hosting workstation key


Copyright © 2005 IBM All Rights Reserved.