Details
-
Bug
-
Resolution: Done
-
Trivial - P5
-
1.7.1
-
None
-
None
-
Windows
Description
The new ArgumentOutOfRangeException() is incorrectly formed. It's passing a message as the parameter name. It should read;
throw new ArgumentOutOfRangeException("bytes", "Byte array must be 12 bytes long.");
Ideally though, it would have a bit more information relating to ObjectId.
Attachments
Issue Links
- related to
-
CSHARP-474 Review all exceptions thrown by the C# driver
-
- Closed
-