Do not throw in DatabaseDao.

Throwing of exceptions was introduced erroneously in manual merge.