Class GeneralLeanFtException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.hp.lft.sdk.GeneralLeanFtException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DescriptionException, EmptySessionIdException, GeneralGridException, GeneralReplayException, GeneralServerErrorException, InvalidAgentException, InvalidClassNameException, InvalidFormatException, InvalidMessageFieldException, InvalidPathException, InvalidVersionException, LabNotConnectedException, MessageTypeNotSupportedException, NoValidLicenseException, ServerAlreadyInRecordModeException, ServerIsShuttingDownException, SessionNotFoundException

public class GeneralLeanFtException extends Exception
Represents general errors that occur during execution.
See Also:
  • Constructor Details

    • GeneralLeanFtException

      public GeneralLeanFtException(String message)
      Constructs a new GeneralLeanFtException with a specified detail message.
      Parameters:
      message - the detail message.
    • GeneralLeanFtException

      public GeneralLeanFtException(int errorCode, String message)
      Constructs a new GeneralLeanFtException with a specified detail message and error code.
      Parameters:
      errorCode - the error code representing the error that occurred.
      message - the detail message.
    • GeneralLeanFtException

      public GeneralLeanFtException(String message, Throwable cause)
      Constructs a new GeneralLeanFtException with the specified detail message and cause.
      Parameters:
      message - the detail message.
      cause - the cause of the error.
  • Method Details

    • getErrorCode

      public int getErrorCode()
      Returns the error code representing the error that occurred.
      Returns:
      the error code representing the error that occurred.