Returns the geometry or throws an exception if it is null.
null
when the feature doesn't contain a geometry