Fixes #180 Reverses the order in which the exception and event handlers are assigned.