Class MetadataEvaluationException

All Implemented Interfaces:
Serializable

@Deprecated public class MetadataEvaluationException extends RuntimeException
Deprecated.
This system is extremely misleading and does not cleanup values for metadatable entities that have been removed. It is recommended that when wanting persistent metadata, you use PersistentDataContainer.

If you want temporary values on an entity, use the entity lifecycle events and a Map of your own. (See EntityAddToWorldEvent and EntityRemoveFromWorldEvent)

A MetadataEvaluationException is thrown any time a LazyMetadataValue fails to evaluate its value due to an exception. The originating exception will be included as this exception's cause.
See Also: