Class FeatureInstantiationException

Object
All Implemented Interfaces:
Serializable

Thrown when FeatureType.newInstance() is invoked but the feature cannot be instantiated. The instantiation can fail for a variety of reasons including but not limited to:
  • the feature type is abstract,
  • the feature type definition is incomplete.
Analogy with Java reflection: if we compare FeatureType to Class and Feature to Object in the Java language, then this exception is equivalent to InstantiationException.
Since:
3.1
See Also: