Using SQLException instead of NPE in ExampleDao.save