public class CTException
extends java.lang.Exception
| Constructor and Description |
|---|
CTException(int ErrorCode)
Constructor for the CTException class.
|
CTException(int ErrorCode,
java.lang.String ErrorMsg)
Constructor for the CTException class.
|
| Modifier and Type | Method and Description |
|---|---|
long |
GetErrorCode()
Retrieves the error code from the current exception.
|
java.lang.String |
GetErrorMsg()
Retrieves the error message from the current exception.
|
public CTException(int ErrorCode)
ErrorCode - Error code to assign to the exception. Expected values are
CTDBRET.GetErrorCode()public CTException(int ErrorCode,
java.lang.String ErrorMsg)
ErrorCode - Error code to assign to the exception. Expected values are
CTDBRET.ErrorMsg - Error message to be assigned to the exception.GetErrorCode(),
GetErrorMsg()public long GetErrorCode()
CTDBRET.CTException(int, java.lang.String),
GetErrorMsg()public java.lang.String GetErrorMsg()
CTException(int, java.lang.String),
GetErrorCode()