raise Exception at createdb() and deletedb()

Signed-off-by: tanji <nicholastanjerome@gmail.com>