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

Project Version 2.3

com.rational.test.ft
Class ObjectIsDisposedException

java.lang.Object   extended by java.lang.Throwable       extended by java.lang.Exception           extended by java.lang.RuntimeException               extended by com.rational.test.ft.RationalTestException
                  extended by com.rational.test.ft.ObjectIsDisposedException
All Implemented Interfaces:
IRationalThrowable, java.io.Serializable

public class ObjectIsDisposedException
extends RationalTestException

Thrown when a attempting to use a TestObject and the underlying object in the software under test (SUT) has been disposed. For example, in HTML if you have gotten a registered object by calling TestObject.getParent() or TestObject.find() and then you cause the HTML page to change, the HTML objects on the unloaded page are all disposed. Most further attempts to use these TestObjects will cause this exception. Note that you can and should still call unregister() on the TestObject.

Since:
RFT2.1
See Also:
Serialized Form

Constructor Summary
ObjectIsDisposedException()
           
ObjectIsDisposedException(java.lang.Object obj)
           
ObjectIsDisposedException(java.lang.String msg)
           
 
Method Summary
 
Methods inherited from class com.rational.test.ft.RationalTestException
className, fillinCombinedStackTrace, getClassName, getContextDescription, getMessage, getReplacedExceptionMessage, getStackTraceString, printStackTrace, printStackTrace, printStackTrace, setContextDescription, setStackTraceString, stackTraceString, throwIt
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectIsDisposedException

public ObjectIsDisposedException()
Since:
RFT2.1

ObjectIsDisposedException

public ObjectIsDisposedException(java.lang.Object obj)
Since:
RFT2.1

ObjectIsDisposedException

public ObjectIsDisposedException(java.lang.String msg)
Since:
RFT2.1