catch(Exception e) {

is essentially saying "Ignore exceptions - I'm not interested in them or their causes, i.e. why my code doesn't work properly". Is that really what you mean? If it is what you mean, then it's a good idea to comment the empty body of the catch statement to indicate why you think ignoring it is OK, thus providing a 'sanity check' for yourself.

Please support this site using the button below: