I still do not think that from user perspective the operation is done. because while destroying we clear the contents of the map for example. in this very case because we get the exception while destroying we don't know if we have cleared the contents of the map or not