[CXX-916] Documented exceptions are incorrect Created: 24/May/16  Updated: 19/Sep/16  Resolved: 10/Sep/16

Status: Closed
Project: C++ Driver
Component/s: Documentation
Affects Version/s: 3.0.1
Fix Version/s: 3.0.2

Type: Improvement Priority: Trivial - P5
Reporter: Armin Ball [X] Assignee: David Golden
Resolution: Done Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to CXX-988 Fix documentation of invalid element ... Closed

 Description   

insert_one() throws a wrong documentated exception!

mongocxx::write_exception // is thrown

In Comments of the function:
/// @throws exception::write if the operation fails.
// is in the file collection.hpp in the comment line 309

stdx::optional<result::insert_one> insert_one(...



 Comments   
Comment by Githook User [ 10/Sep/16 ]

Author:

{u'username': u'xdg', u'name': u'David Golden', u'email': u'xdg@xdg.me'}

Message: CXX-916 Fix documented exceptions

This commit updates all the documented exception names to the current types
and adds '@throws' entries to several methods where they were omitted.
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/5b44f0d3ada80bf70dbd544eb80f0d06522bb73c

Comment by David Golden [ 02/Sep/16 ]

https://github.com/mongodb/mongo-cxx-driver/pull/522

Comment by Andrew Morrow (Inactive) [ 24/May/16 ]

Thanks for the bug report, we will get this fixed.

Generated at Wed Feb 07 22:00:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.