Try catch exception not used