Throw ArgumentNullException when value is null