add exception_notification and testing method