IBM Rational Performance Tester SDK

com.ibm.rational.test.lt.kernel.action.impl
Class KCatchRPTEvent

java.lang.Object
  extended by com.ibm.rational.test.lt.kernel.impl.Countable
      extended by com.ibm.rational.test.lt.kernel.action.impl.KAction
          extended by com.ibm.rational.test.lt.kernel.action.impl.KCatchRPTEvent
All Implemented Interfaces:
IKAction, IKSemaphore, ICountable, IKLog, com.ibm.rational.test.lt.kernel.services.IRPTEventHandler, ITestExecutionServices, Runnable

public class KCatchRPTEvent
extends com.ibm.rational.test.lt.kernel.action.impl.KAction

This is a generic exception catching action that logs a message to the testLog and exits.


Field Summary
 
Fields inherited from class com.ibm.rational.test.lt.kernel.action.impl.KAction
actionState, debug, historyType, name, stopRequested
 
Fields inherited from interface com.ibm.rational.test.lt.kernel.action.IKAction
ABANDONED, DP_ENCRYPTED_VALUES_KEY, EXECUTING, FINISHED, HANDLETIMER, SEMWAIT, SLEEPING, Status, UNSTARTED
 
Fields inherited from interface com.ibm.rational.test.lt.kernel.logging.IKLog
HISTORY_ALL, HISTORY_NONE, HISTORY_PAGES, HISTORY_REQUESTS, HISTORY_SCHEDULE, LOG_ALL, LOG_CONFIG, LOG_FINE, LOG_FINER, LOG_FINEST, LOG_INFO, LOG_NONE, LOG_SEVERE, LOG_WARNING, STATISTIC_ALL, STATISTIC_NONE, STATISTIC_PAGES
 
Fields inherited from interface com.ibm.rational.test.lt.kernel.services.ITestExecutionServices
STORAGE_LOCAL, STORAGE_USER
 
Constructor Summary
KCatchRPTEvent(IContainer parent, String name)
           
 
Method Summary
 void execute()
          Execute this action.
 void report()
           
 
Methods inherited from class com.ibm.rational.test.lt.kernel.action.impl.KAction
abandon, acquire, actionStack, addEventBehavior, addNetServerTime, assertParentStartEvent, availablePermits, blocked, blockedAction, couldReportHistory, dawnLog, executeAction, executionTime, findDataArea, findEventBehavior, findExceptionHandler, findLoop, findLoop, findTransaction, findTransaction, findVirtualUser, finish, forceStop, getActiveException, getActiveUsersStat, getARM, getBlockedTimeout, getCompletedUsersStat, getDataPoolManager, getDispatchList, getFinishLock, getHistory, getHistoryLevel, getHistoryLevel, getHistoryType, getId, getLogLevel, getLoopControl, getLoopControl, getName, getNonPassingVPReported, getParent, getPDLogManager, getPendingException, getQueue, getQueueLength, getResultInteger, getResultObject, getResultString, getRtbEnabled, getRunStat, getStartTime, getState, getStatisticsLevel, getStatisticsManager, getStatTree, getStopRequested, getStopTime, getSubsystem, getTestLogManager, getTime, getTimeoutDuration, getTimeoutScheme, getTotalUsersStat, getTransaction, getValue, getVirtualUser, getVirtualUserGUID, getVirtualUserName, getWaitingForActions, getWorkBenchHostName, getWorkBenchUserId, getWorkerThread, handleException, hasFinished, hasStarted, isRtbDisabled, isRtbEnabled, isRunning, isScheduleRun, log, log, log, log, makeVerdict, postFinish, preFinish, printKActionTrace, processRegisteredEvents, processThrowable, reducePermits, registerEvent, registerVerdict, registerVerdict, release, release, reportEvent, reportEvent, reportEvent, reportEvent, reportEvent, reportMessage, reportMessage, reportMessage, reportMessage, reportVerdict, reportVerdict, reportVerdict, reportVerdict, reportVerdict, reportVerdict, reportVerificationPoint, reportVerificationPoint, reportVerificationPoint, reportVerificationPoint, reportVerificationPoint, reportVerificationPoint, reset, resetAction, rollupNetServerTime, run, setActiveException, setBlockedTimeout, setDispatchingAction, setHistory, setHistoryLevel, setHistoryLevel, setHistoryType, setId, setLogLevel, setParent, setPendingException, setResultInteger, setResultObject, setResultString, setResultString, setRtbEnabled, setStatisticsLevel, setStatTree, setValue, start, status, stop, stop, stopAction, toXML, tryAcquire, tryAcquire, wouldARM, wouldLog, wouldReportHistory, wouldReportHistory, wouldReportHistory, wouldReportStatistics, writeEvent
 
Methods inherited from class com.ibm.rational.test.lt.kernel.impl.Countable
addCounter, getCounter, getCounters, resetCounters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.rational.test.lt.kernel.ICountable
addCounter, getCounter, getCounters, resetCounters
 
Methods inherited from interface com.ibm.rational.test.lt.kernel.action.IKSemaphore
toString
 

Constructor Detail

KCatchRPTEvent

public KCatchRPTEvent(IContainer parent,
                      String name)
Method Detail

report

public void report()

execute

public void execute()
Description copied from interface: IKAction
Execute this action.

Called indirectly by the kernel when it is time to execute.

If processing is finished for this action, call finish() from this method to indicate.

Note: This method is implemented by the protocol, the code generator, or by the programmer/user creating the script.

See Also:
IKAction.hasStarted(), IKAction.hasFinished(), IKAction.isRunning(), IKAction.start(), IKAction.finish()

IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2012. All rights reserved.