Share this page

com.hp.lft.sdk

## Class GeneralReplayException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - com.hp.lft.sdk.GeneralLeanFtException
      - - com.hp.lft.sdk.GeneralReplayException

- All Implemented Interfaces:
    java.io.Serializable
  Direct Known Subclasses:
    ErrorFieldProtectedException, HllapiNotFoundException, HllapiOperationNotSupportedException, IllegalOperationException, ItemNotFoundException, NoConnectionException, ObjectCookieNotFoundException, OutOfRangeException, ReplayArgumentOutOfRangeException, ReplayBrowserNotInstalledException, ReplayItemNotFoundException, ReplayItemNotUniqueException, ReplayObjectDisabledException, ReplayObjectNotFoundException, ReplayObjectNotUniqueException, ReplayObjectNotVisibleException, ReplayParentMissingException, ReplayTimeoutException, RuleNotFoundException, TextTooLongException, UndefinedKeyCombinationException

      public class GeneralReplayException
      extends GeneralLeanFtException

  Represents general errors that occur during replay stage of the UFT Developer application.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructor and Description
    `GeneralReplayException(TestObject testObject)` Constructs a new GeneralReplayException with the test object, on which the replay failed.
    `GeneralReplayException(TestObject testObject, int errorCode, java.lang.String message)` Constructs a new GeneralReplayException with the test object, on which the replay failed and the specified detail message and error code.
    `GeneralReplayException(TestObject testObject, java.lang.String message)` Constructs a new GeneralReplayException with the test object, on which the replay failed and the specified detail message.

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `TestObject` | `getTestObject()` Returns the test object, on which the replay failed.

    - ### Methods inherited from class com.hp.lft.sdk.GeneralLeanFtException

      `getErrorCode`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### GeneralReplayException

          public GeneralReplayException(TestObject testObject)

      Constructs a new GeneralReplayException with the test object, on which the replay failed.
      Parameters:
        `testObject` - the test object, on which the replay failed.

    - #### GeneralReplayException

          public GeneralReplayException(TestObject testObject,
                                        java.lang.String message)

      Constructs a new GeneralReplayException with the test object, on which the replay failed and the specified detail message.
      Parameters:
        `testObject` - the test object, on which the replay failed.
        `message` - the detail message.

    - #### GeneralReplayException

          public GeneralReplayException(TestObject testObject,
                                        int errorCode,
                                        java.lang.String message)

      Constructs a new GeneralReplayException with the test object, on which the replay failed and the specified detail message and error code.
      Parameters:
        `testObject` - the test object, on which the replay failed.
        `errorCode` - the error code representing the error that occurred.
        `message` - the detail message.

  - ### Method Detail

    - #### getTestObject

          public TestObject getTestObject()

      Returns the test object, on which the replay failed.
      Returns:
        the test object, on which the replay failed.

Tips to improve your search results... UFT Developer Java SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: