Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

Reality V15.2 Online Documentation (MoTW) Revision 3

ERETHROW Statement (dbasic_exception_hndlr_erethrow.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

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.

See Also

DataBasic Exception Handler

RealityV15.2Revision 3Comment on this topic