Share this page

com.hp.lft.sdk

## Class SessionNotFoundException

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

- All Implemented Interfaces:
    java.io.Serializable

      public class SessionNotFoundException
      extends GeneralLeanFtException

  The exception that is thrown when an unknown session ID is received by the UFT Developer server.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructor and Description
    `SessionNotFoundException()` Constructs a new SessionNotFoundException.
    `SessionNotFoundException(int errorCode, java.lang.String message)` Constructs a new SessionNotFoundException with the specified detail message and error code.
    `SessionNotFoundException(java.lang.String message)` Constructs a new SessionNotFoundException 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

    - #### SessionNotFoundException

          public SessionNotFoundException()

      Constructs a new SessionNotFoundException.

    - #### SessionNotFoundException

          public SessionNotFoundException(java.lang.String message)

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

    - #### SessionNotFoundException

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

      Constructs a new SessionNotFoundException 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: