Contents - Methods - Properties
Internal session-managing error object
Description
Used for throwing invalid user rights errors.
Contents - TFRException - Properties
~TFRException
DestructorAssignC++ declaration
inline __fastcall virtual ~TFRException(void)
Delphi declarationCreate
procedure Assign(Ex: TFRException);
C++ declaration
void __fastcall Assign(TFRException *Ex)
ConstructorGetErrorCodeDelphi declaration
constructor Create(Code: Integer);
Description
Parameter Code sets ErrorCode .
Delphi declarationGetErrorMessage
function GetErrorCode: AnsiString;
C++ declaration
System::AnsiString __fastcall GetErrorCode(void)
Delphi declarationTFRException
function GetErrorMessage: AnsiString;
C++ declaration
int FErrorCode System::AnsiString __fastcall GetErrorMessage(void)
ConstructorC++ declaration
__fastcall TFRException(int Code)
Description
Parameter Code sets ErrorCode .
Contents - TFRException - Methods
ErrorCode
Exception error codeErrorMessageDelphi declaration
property ErrorCode: AnsiString read GetErrorCode;
C++ declaration
__property System::AnsiString ErrorCode={ read=GetErrorCode, nodefault }
Description
ErrorCode will be evaluated by the object constructor.Predefined error codes:
FRE_ACCESS_DENIED=101;
FRE_OPERATION_DENIED=102;
FRE_UNKNOWN=0;
FRE_UNKNOWN_USER=100;
FRE_USER=1000;
Exception error messageDelphi declaration
property ErrorMessage: AnsiString read GetErrorMessage;
C++ declaration
__property System::AnsiString ErrorMessage={ read=GetErrorMessage, nodefault }
Description
Short description of the error.