IBM Rational Functional Tester
Version 8.1.1000
IBM Rational Functional Tester API Reference

Project Version 2.3

com.rational.test.ft
Interface IRationalThrowable

All Known Implementing Classes:
AmbiguousRecognitionException, ApplicationFrameworkException, BadArgumentException, CookieNotFoundException, CoordinateOffScreenException, CoordinateOnWrongObjectException, CoordinateOnWrongSubitemException, CurrentBrowserException, CurrentJVMException, DatapoolException, IllegalAccessException, InvalidSignatureException, InvalidSubitemException, InvalidTestDataTypeException, InvalidTestObjectException, InvalidWindowHandleException, InvocationTargetException, LogCancelledException, LogException, ManualModeError, MethodNotFoundException, MonitorException, NestedException, NoSuchRegistryKeyException, NotSupportedOnUnixException, NotYetAbleToPerformActionException, ObjectIsDisposedException, ObjectNotFoundException, ObjectNotInMapException, ObjectNotVisibleException, PropertyAccessException, PropertyNotFoundException, RationalAutTestException, RationalTestError, RationalTestException, RationalTestManualModeError, RationalTestRemoteException, RationalTestScriptError, RationalTestScriptException, RationalTestScriptShutdown, RecorderException, RunException, StringNotInCodePageException, SubitemNotFoundException, SuiteServiceManager.SuiteServiceException, SuiteServiceManager.SuiteServiceNotFoundException, SwitchToManualModeError, TargetGoneException, TestObjectMethodEventException, UnableToAccomplishAllHooksException, UnableToDeleteCookieException, UnableToHookException, UnableToPerformActionException, UnregisteredObjectException, UnsupportedActionException, UnsupportedAnchorException, UnsupportedMethodException, UnsupportedSubitemException, UserStoppedManualModeError, UserStoppedScriptError, VerificationPointException, VpSkipOperationException, WindowActivateFailedException, WindowHandleNotFoundException, WrappedException

public interface IRationalThrowable

Implemented by RationalTestError and RationalTestException.

Since:
RFT1.0

Method Summary
 IRationalThrowable fillinCombinedStackTrace()
          Combines the current stack in the current thread with the stacktrace from this exception.
 java.lang.String getClassName()
          Returns the classname of the Throwable exception.
 java.lang.String getContextDescription()
          Gets a description of the context of the exception within a script.
 java.lang.String getStackTraceString()
          Gets a String representation of the stack for the current exception.
 void setContextDescription(java.lang.String s)
          Sets the exception context description.
 void setStackTraceString(java.lang.String s)
          Sets the String representation of the stack for the current exception.
 void throwIt()
          Throws this throwable exception.
 

Method Detail

getStackTraceString

java.lang.String getStackTraceString()
Gets a String representation of the stack for the current exception.

Since:
RFT1.0

setStackTraceString

void setStackTraceString(java.lang.String s)
Sets the String representation of the stack for the current exception. If this value is not explicitly set, the stacktrace from the underlying Throwable is returned from getStackTraceString.

Since:
RFT1.0

getClassName

java.lang.String getClassName()
Returns the classname of the Throwable exception. Note that WrappedException overrides this and returns the name of the wrapped exception.

Since:
RFT1.0

fillinCombinedStackTrace

IRationalThrowable fillinCombinedStackTrace()
Combines the current stack in the current thread with the stacktrace from this exception. The combined stack is persisted as a String value.

Since:
RFT1.0

getContextDescription

java.lang.String getContextDescription()
Gets a description of the context of the exception within a script. (This may be null.)

Since:
RFT1.0

setContextDescription

void setContextDescription(java.lang.String s)
Sets the exception context description.

Since:
RFT1.0

throwIt

void throwIt()
Throws this throwable exception.

Since:
RFT1.0