FatalError
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Syntax
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, the SAX-reader object'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.