Add default implementation of exception handler.