added exception handler in DatabaseInitializer.java