Added a PL exception event handler.