Added exception if the database is not found