added exception handling message when deleting database.