IBM Rational Functional Tester
Version 6.1
IBM Rational Functional Tester API Reference

Project Version 2.0

com.rational.test.ft
Class ObjectIsDisposedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.rational.test.ft.RationalTestException
                  extended bycom.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)
           
 
Methods inherited from class com.rational.test.ft.RationalTestException
className, create, fillinCombinedStackTrace, getClassName, getContextDescription, getStackTraceString, printStackTrace, printStackTrace, printStackTrace, setContextDescription, setStackTraceString, stackTraceString, throwIt
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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