Added printStackTraces to all the catch blocks