Package com.hp.lft.sdk
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
Represents general errors that occur during execution.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGeneralLeanFtException
(int errorCode, String message) Constructs a new GeneralLeanFtException with a specified detail message and error code.GeneralLeanFtException
(String message) Constructs a new GeneralLeanFtException with a specified detail message.GeneralLeanFtException
(String message, Throwable cause) Constructs a new GeneralLeanFtException with the specified detail message and cause. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the error code representing the error that occurred.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
GeneralLeanFtException
Constructs a new GeneralLeanFtException with a specified detail message.- Parameters:
message
- the detail message.
-
GeneralLeanFtException
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
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.
-