Added intial exception handler.