RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TParser.ErrorStr Method

Raise an EParseError error with a specific message.

Pascal
procedure ErrorStr(const Message: string);
C++
__fastcall ErrorStr(const AnsiString Message);

Call ErrorStr to force the raising of an EParseError exception with an error message specified by S.  

Use this to simulate an error encountered in the parsing of a file. 

 

EParseError 

Error 

ErrorFmt 

OnError

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!