Share this page

com.hp.lft.sdk

## Class DescriptionException

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

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

      public class DescriptionException
      extends GeneralLeanFtException

  An Exception that is raised when errors are encountered in the description of test objects.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructor and Description
    `DescriptionException(DescriptionBase testObjectDescription)` Constructs a new DescriptionException with the description, in which the error has occurred.
    `DescriptionException(DescriptionBase testObjectDescription, java.lang.String message)` Constructs a new DescriptionException with the description, in which the error has occurred and a specified detail message.

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `DescriptionBase` | `getDescription()` Returns the description, in which the error has occurred.

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

    - #### DescriptionException

          public DescriptionException(DescriptionBase testObjectDescription)

      Constructs a new DescriptionException with the description, in which the error has occurred.
      Parameters:
        `testObjectDescription` - the description, in which the error has occurred.

    - #### DescriptionException

          public DescriptionException(DescriptionBase testObjectDescription,
                                      java.lang.String message)

      Constructs a new DescriptionException with the description, in which the error has occurred and a specified detail message.
      Parameters:
        `testObjectDescription` - the description, in which the error has occurred.
        `message` - the detail message

  - ### Method Detail

    - #### getDescription

          public DescriptionBase getDescription()

      Returns the description, in which the error has occurred.
      Returns:
        the description, in which the error has occurred.

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: