NOTE: The appropriate privilege must be held on the parent of the destroyed entity as well as the entity itself.
This method can throw one of several exceptions. The exact set of exceptions depends on the kind of entity that is being removed. See comments for each entity for more information on destroy behavior.None |
---|