Platoo ISAPI ComponentsTFRException

Contents - Methods - Properties

Internal session-managing error object


Description
Used for throwing invalid user rights errors.


TFRException - Methods

Contents - TFRException - Properties

~TFRException
Destructor

C++ declaration
inline __fastcall virtual ~TFRException(void)

Assign
Delphi declaration
procedure Assign(Ex: TFRException);
C++ declaration
void __fastcall Assign(TFRException *Ex)
Create
Constructor

Delphi declaration
constructor Create(Code: Integer);

Description
Parameter Code sets ErrorCode .

GetErrorCode
Delphi declaration
function GetErrorCode: AnsiString;
C++ declaration
System::AnsiString __fastcall GetErrorCode(void)
GetErrorMessage
Delphi declaration
function GetErrorMessage: AnsiString;
C++ declaration
int FErrorCode System::AnsiString __fastcall GetErrorMessage(void)
TFRException
Constructor

C++ declaration
__fastcall TFRException(int Code)

Description
Parameter Code sets ErrorCode .


TFRException - Properties

Contents - TFRException - Methods

ErrorCode
Exception error code

Delphi 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;

ErrorMessage
Exception error message

Delphi declaration
property ErrorMessage: AnsiString read GetErrorMessage;
C++ declaration
__property System::AnsiString ErrorMessage={ read=GetErrorMessage, nodefault }

Description
Short description of the error.