Share this page

com.hp.lft.sdk

## Class ObjectCookieNotFoundException

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

- All Implemented Interfaces:
    java.io.Serializable

      public class ObjectCookieNotFoundException
      extends GeneralReplayException

  The exception that is thrown when a test object cookie is not found in the UFT Developer server.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructor and Description
    `ObjectCookieNotFoundException(TestObject testObject)` Constructs a new ObjectCookieNotFoundException with the test object, whose cookie was not found.
    `ObjectCookieNotFoundException(TestObject testObject, int errorCode, java.lang.String message)` Constructs a new ObjectCookieNotFoundException with the test object, whose cookie was not found and the specified detail message and error code.
    `ObjectCookieNotFoundException(TestObject testObject, java.lang.String message)` Constructs a new ObjectCookieNotFoundException with the test object, whose cookie was not found and the specified detail message.

  - ### Method Summary

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

      `getTestObject`

    - ### 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

    - #### ObjectCookieNotFoundException

          public ObjectCookieNotFoundException(TestObject testObject)

      Constructs a new ObjectCookieNotFoundException with the test object, whose cookie was not found.
      Parameters:
        `testObject` - the test object, whose cookie was not found.

    - #### ObjectCookieNotFoundException

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

      Constructs a new ObjectCookieNotFoundException with the test object, whose cookie was not found and the specified detail message.
      Parameters:
        `testObject` - the test object, whose cookie was not found.
        `message` - the detail message.

    - #### ObjectCookieNotFoundException

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

      Constructs a new ObjectCookieNotFoundException with the test object, whose cookie was not found and the specified detail message and error code.
      Parameters:
        `testObject` - the test object, whose cookie was not found.
        `errorCode` - the error code representing the error that occurred.
        `message` - the detail message.

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: