Just a couple of notes:
1. Don't use e.toString() to print exception errors, instead, use e.getMessage() or e.getLocalizedMessage for the actual error, and e.getStackTrace() or e.printStackTrace()...