Android : Error handling: generic exception