[Issue #18] Add exception event handlers