RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TParser.Error Method

Raise an EParserError error.

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

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

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!