dao layer exception modified