FatalError
- Last Updated: June 8, 2021
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Invoked to report a fatal error.
Procedure
|
Method
|
- 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.