TParserErrorEvent is a callback procedure used by the TClassFinder class.
TParserErrorEvent = procedure (Sender: TObject; const Message: string; var Handled: Boolean) of object;
(Sender: TObject; const Message: string; var Handled: Boolean) ( TParserErrorEvent)();
TParserErrorEvent is a type of call back procedure that is called by the TParser class OnError event.
Sender is a reference to the TParser instance that has encountered an error and invoked the callback procedure.
Message is the error message.
Handled is a set to false if you want the error to raise an exception. If you want processing to continue, set this value to true.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!