Refactor by creating static methods in DAOs instead of using try/catch
all over.