Share this page

com.hp.lft.sdk

## Class LabNotConnectedException

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

- All Implemented Interfaces:
    java.io.Serializable
  Direct Known Subclasses:
    MobileCenterNotConnectedException

      public class LabNotConnectedException
      extends GeneralLeanFtException

  The exception that is thrown when the UFT Developer runtime engine is not connected to the expected Lab.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructor and Description
    `LabNotConnectedException()` Constructs a new `LabNotConnectedException`.
    `LabNotConnectedException(int errorCode, java.lang.String message)` Constructs a new `LabNotConnectedException` with the specified detail message and error code.
    `LabNotConnectedException(java.lang.String message)` Constructs a new `LabNotConnectedException` with the specified detail message.

  - ### Method Summary

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

    - #### LabNotConnectedException

          public LabNotConnectedException()

      Constructs a new `LabNotConnectedException`.

    - #### LabNotConnectedException

          public LabNotConnectedException(java.lang.String message)

      Constructs a new `LabNotConnectedException` with the specified detail message.
      Parameters:
        `message` - the detail message.

    - #### LabNotConnectedException

          public LabNotConnectedException(int errorCode,
                                          java.lang.String message)

      Constructs a new `LabNotConnectedException` with the specified detail message and error code.
      Parameters:
        `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: