Added exception event listener