com.ibm.tws.conn.exception
Class ConnJobStreamDepException

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.ConnJobStreamDepException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ConnJobStreamExtDepException, ConnJobStreamFileDepException, ConnJobStreamInternetworkDepException, ConnJobStreamResourceDepException

public class ConnJobStreamDepException
extends ConnValidationException

This exception is thrown in create/modify JobStream, and one of the workstation class referenced in its dependencies is not equal to the workstation class of the job stream beeing created/modified.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright
 
Constructor Summary
ConnJobStreamDepException(java.lang.String msgId, java.lang.Object[] msgArgs, FlowNodeKey flNodeKey, FlowTargetKey jobStrWksKey)
          Constructor
ConnJobStreamDepException(java.lang.String msgId, java.lang.Object[] msgArgs, FlowNodeKey flNodeKey, FlowTargetKey jobStreamFlowTargetKeyKey, FlowTargetKey depWCKey, boolean isJobStreamOnWorkstation)
          Constructor
ConnJobStreamDepException(java.lang.String msgId, java.lang.Object[] msgArgs, FlowNodeKey flNodeKey, JobStreamKey jobStrKey, FlowTargetKey jobStrWksKey)
          Constructor
ConnJobStreamDepException(java.lang.String msgId, java.lang.Object[] msgArgs, JobStreamKey jobStrKey)
          Constructor
 
Method Summary
 FlowTargetKey getDependencyWorkstationClassKey()
          Get the dependent workstation class key
 FlowNodeKey getFlowNodeKey()
          Get job or job stream in error
 JobStreamKey getJobStreamKey()
          Get the job stream key
 FlowTargetKey getJobStreamWorkstationClassKey()
          Get job stream workstation class key
 FlowTargetKey getJobStreamWorkstationKey()
          Get job stream 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

ConnJobStreamDepException

public ConnJobStreamDepException(java.lang.String msgId,
                                 java.lang.Object[] msgArgs,
                                 FlowNodeKey flNodeKey,
                                 FlowTargetKey jobStreamFlowTargetKeyKey,
                                 FlowTargetKey depWCKey,
                                 boolean isJobStreamOnWorkstation)
Constructor

Parameters:
msgId - Message Id
msgArgs - Message arguments
flNodeKey - Job stream or job whose dependency is in error
jobStreamFlowTargetKeyKey - The Workstation or Workstation Class key on which Job Stream is defined
depWCKey - The dependent Workstation Class key
isJobStreamOnWorkstation - true if Job Stream is defined on Workstation, false if Job Stream is defined on Workstation Class

ConnJobStreamDepException

public ConnJobStreamDepException(java.lang.String msgId,
                                 java.lang.Object[] msgArgs,
                                 JobStreamKey jobStrKey)
Constructor

Parameters:
msgId - message id
msgArgs - message parms
jobStrKey - The Job Stream key

ConnJobStreamDepException

public ConnJobStreamDepException(java.lang.String msgId,
                                 java.lang.Object[] msgArgs,
                                 FlowNodeKey flNodeKey,
                                 FlowTargetKey jobStrWksKey)
Constructor

Parameters:
msgId - message id
msgArgs - message parms
flNodeKey - job or job stream in error
jobStrWksKey - job stream workstation key

ConnJobStreamDepException

public ConnJobStreamDepException(java.lang.String msgId,
                                 java.lang.Object[] msgArgs,
                                 FlowNodeKey flNodeKey,
                                 JobStreamKey jobStrKey,
                                 FlowTargetKey jobStrWksKey)
Constructor

Parameters:
msgId - message id
msgArgs - message parms
flNodeKey - job or job stream in error
jobStrKey - The Job Stream key
jobStrWksKey - job stream workstation key
Method Detail

getDependencyWorkstationClassKey

public FlowTargetKey getDependencyWorkstationClassKey()
Get the dependent workstation class key

Returns:
the dependent workstation class key

getFlowNodeKey

public FlowNodeKey getFlowNodeKey()
Get job or job stream in error

Returns:
job or job stream in error

getJobStreamKey

public JobStreamKey getJobStreamKey()
Get the job stream key

Returns:
the job stream key

getJobStreamWorkstationClassKey

public FlowTargetKey getJobStreamWorkstationClassKey()
Get job stream workstation class key

Returns:
job stream workstation class key

getJobStreamWorkstationKey

public FlowTargetKey getJobStreamWorkstationKey()
Get job stream workstation key

Returns:
job stream workstation key


Copyright © 2005 IBM All Rights Reserved.