Handle int conversion exceptions