added error messages in Dbs.java