com.ibm.tws.conn.exception
Class ConnJobStreamResourceDepException

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

public class ConnJobStreamResourceDepException
extends ConnJobStreamDepException

This exception is thrown in create/modify JobStream, and one of the workstation class referenced in its resource 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
ConnJobStreamResourceDepException(ConnJobStreamResourceDepException e, JobStreamKey jobStrKey)
          Constructor
ConnJobStreamResourceDepException(FlowTargetKey resWCKey, ResourceKey resKey, FlowNodeKey flowNodeKey, FlowTargetKey jobStreamFlowTargetKey, boolean isJobStreamOnWorkstation)
          Constructor
 
Method Summary
 ResourceKey getResourceKey()
          Get the resource key
 
Methods inherited from class com.ibm.tws.conn.exception.ConnJobStreamDepException
getDependencyWorkstationClassKey, getFlowNodeKey, getJobStreamKey, getJobStreamWorkstationClassKey, getJobStreamWorkstationKey
 
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

ConnJobStreamResourceDepException

public ConnJobStreamResourceDepException(FlowTargetKey resWCKey,
                                         ResourceKey resKey,
                                         FlowNodeKey flowNodeKey,
                                         FlowTargetKey jobStreamFlowTargetKey,
                                         boolean isJobStreamOnWorkstation)
Constructor

Parameters:
resWCKey - Resource Workstation Class key
resKey - Resource key
flowNodeKey - The flow node key of the Job/Jobstream involved in the error
jobStreamFlowTargetKey - The Workstation or Workstation Class key on which Job Stream is defined
isJobStreamOnWorkstation - true if Job Stream is defined on Workstation, false if Job Stream is defined on Workstation Class

ConnJobStreamResourceDepException

public ConnJobStreamResourceDepException(ConnJobStreamResourceDepException e,
                                         JobStreamKey jobStrKey)
Constructor

Parameters:
e - A ConnJobStreamResourceDepException
jobStrKey - Job Stream key
Method Detail

getResourceKey

public ResourceKey getResourceKey()
Get the resource key

Returns:
the resource key


Copyright © 2005 IBM All Rights Reserved.