Subject Re: [firebird-support] Re: Exception hangling in stored procedure
Author Michael Ludwig
Michael Ludwig schrieb am 29.11.2010 um 21:55 (+0100):

> What exactly is the rule for the placement of WHEN exception handlers?
> From experimentation I suspect they must not be followed by anything,
> apparently with the exception of SUSPEND.

The old InterBase 6 Language Reference from 1999, which among other
things excels by having PDF file and printed page numbers aligned,
contains the exact definition on p.179:

IMPORTANT If used, WHEN must be the last statement in
a BEGIN…END block. It should come after SUSPEND,
if present.

Michael Ludwig