Fix exception_notification 4.0 compatibility