Progress
External Program
Interfaces
FatalError
Invoked to report a fatal error.
errMessage
A character string indicating the error message.
The application must assume that after a fatal error is reported, the document is unusable and future parsing events might not be reported. However, the parser might try to continue to parse the document. To stop the parser after reporting a fatal error, execute RETURN ERROR.
NOTE: If you stop the parser by executing STOP-PARSING(), parsing stops, but no error condition is raised, no error message is reported, SAX-READER’s PARSE-STATUS attribute is set to SAX-COMPLETE rather than to SAX-PARSER-ERROR, and the driver might not know that an error occurred. For this reason, Progress Software Corporation recommends that to stop the parser after reporting a fatal error, execute RETURN ERROR.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |