trueif catch-name has been thrown but has not yet been caught, and
isntwill reverse the results.
catch-name (is | isnt) thrown
You can use the
is thrown test to determine if a
throw is in progress to
catch-name can be any of the following:
A compile-time error is produced if catch-name is not declared within the program, nor it is one of the two built-in catches.
Because OmniMark allows multiple
throws at the same time, you may not want to produce an additional
throw while another
throw is being processed. Using
is thrown can avoid having
throws caused by the same error condition.
Actions in an
always clause are always executed at the end of a local scope, whether a
is in progress or not. A
throw within an
always clause can leave you with two
active at once. If this is inappropriate, you can test as follows: