Share this page

com.hp.lft.sdk.te

## Class IllegalOperationException

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

- All Implemented Interfaces:
    java.io.Serializable

      public class IllegalOperationException
      extends GeneralReplayException

  Represents the Illegal Operation error that occurs when running a UFT Developer TE testing project.
  See Also:
    Serialized Form

- - ### Constructor Summary

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

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

    - #### IllegalOperationException

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

      Constructs a new IllegalOperationException with the test object.
      Parameters:
        `testObject` - the test object.
        `message` - The detailed message.

    - #### IllegalOperationException

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

      Constructs a new IllegalOperationException with the test object the specified detail message and error code.
      Parameters:
        `testObject` - the test object.
        `errorCode` - the error code representing the error that occurred.
        `message` - The detailed 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: