Fixed exception type.
Deprecating getValues in DataSeries.