Raise errors within a destructor
- Last Updated: May 29, 2019
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
ABL does not allow an error from a RETURN ERROR or
an UNDO, THROW, or an unhandled system error, to
be raised in a destructor beyond the level of the destructor block.
This means that during the object destruction process, if the destructor
is unable to perform its function, there is no mechanism for it
to report a failure to the caller. The object is thus destroyed
with no indication that an error occurred during the process.