| // Copyright 2009 the Sputnik authors. All rights reserved. |
| // This code is governed by the BSD license found in the LICENSE file. |
| info: "The production TryStatement: \"try Block Catch Finally\"" |
| Executing sequence of "try" statements, using counters with |
| $ERROR('#1.1: "y" lead to throwing exception'); |
| $ERROR('#1.2: Sequence evaluation of commands try/catch is 1. try, 2. catch'); |
| $ERROR('#2: Sequence evaluation of commands try/finally is 1. try, 2. finally'); |
| $ERROR('#3: Sequence evaluation of commands try/catch/finally(with exception) is 1. try, 2. catch, 3. finally'); |
| $ERROR('#4: Sequence evaluation of commands try/catch/finally(without exception) is 1. try, 2. finally'); |