Add error handler in DDBaseDAO