RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TParser.Error Method

Raise an EParseError error.

Pascal
procedure Error(const Ident: string);
C++
__fastcall Error(const AnsiString Ident);

Call Error to force the raising of an EParseError exception. Use this to simulate an error encountered in the parsing of a file. 

 

EParseError 

ErrorFmt 

ErrorStr 

OnError

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