ERETHROW Statement
A DataBasic ERETHROW statement will pass the last exception to an earlier code level, maintaining the saved exception number, message and return stack information.
Syntax
ERETHROW
Operation
The ERETHROW statement, used in exception handling code, causes the current exception to be passed to the label most recently identified by an ECATCH statement in an earlier code level.
It is almost equivalent to: ETHROW EXCEPT.NUM(), EXCEPT.MSG(), except that it also preserves the saved return stack level.
If ERETHROW is executed when no exception has been thrown, a fatal runtime error B68 will occur.
If no earlier exception catch label has been defined, a fatal runtime error B64 will occur.