title: Is there a way to figure out which View caused an Exception (android)?
body: <p>I keep developing my very first android app. It has several EditText views, which the user is supposed to fill in in order to get a result. If no data is entered, then when I parse data from an empty EditText into an int for subsequent calculation, I get the NumberFormatException. What I want to do is if the user forgot to enter data in some EditText, I need to get the ID of that view and change it's hint color into red. So is there a way for an exception handler to grab the ID of the view, which has caused the exception?</p>