Try catch in android studio