Log in
Assorted digital displays showing
numbers in different colours,
format and pixellation
2011-03-07 13:35

Example 14: Exceptions in Repetition Events

The following demonstrates that the repetition model code does not fail when a user-supplied event handler raises an exception.

Note that the there should be errors raised whenever repetition behavior is envoked. An event handler createRuntimeException purposely raises a runtime error.

↑ Menu
Previous edition ↓