angelsix / blueberry

The new diabetes app
106 stars 34 forks source link

Fixed the parameter used in the exception constructor #8

Open RayCarrot opened 5 years ago

RayCarrot commented 5 years ago

I fixed the parameter used, as the first parameter in an ArgumentNullException is the parameter name, not a message. I also changed to an ArgumentException as an ArgumentNullException is only used when the argument itself is null.