Added type to exception recovery