fix typo + delete DummyDatabase + add Exception throws in tuan4-core's methods