[CXX-768] Implement bsoncxx exception hierarchy Created: 08/Dec/15  Updated: 11/Jan/16  Resolved: 17/Dec/15

Status: Closed
Project: C++ Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 3.0.0-rc0

Type: New Feature Priority: Major - P3
Reporter: Samantha Ritter (Inactive) Assignee: Samantha Ritter (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CXX-627 Implement mongocxx exception hierarchy Closed
Epic Link: C++11 Driver MongoDB 3.2

 Description   

Implement an exception hierarchy for libbsoncxx with the following exception types and error categories:

  • bsoncxx::exception (inherits from std::system_error)
    • libbson error category
    • bsoncxx error category


 Comments   
Comment by Samantha Ritter (Inactive) [ 17/Dec/15 ]

code review: https://github.com/mongodb/mongo-cxx-driver/pull/397

Comment by Githook User [ 17/Dec/15 ]

Author:

{u'username': u'samantharitter', u'name': u'samantharitter', u'email': u'samantha.ritter@10gen.com'}

Message: CXX-768 Throw bsoncxx::exceptions instead of std::runtime_error
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/1ff2de4d03f5609f06bc297cdef59c9dcaff7584

Comment by Githook User [ 17/Dec/15 ]

Author:

{u'username': u'samantharitter', u'name': u'samantharitter', u'email': u'samantha.ritter@10gen.com'}

Message: CXX-768 Create different error spaces for bsoncxx and libbson
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/7a853632f6cf977d03d7e26515f97d39ae05d35e

Comment by Githook User [ 17/Dec/15 ]

Author:

{u'username': u'samantharitter', u'name': u'samantharitter', u'email': u'samantha.ritter@10gen.com'}

Message: CXX-768 Add a bsoncxx::exception type
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/4b18c2c22d9364aa3cda8b239e7b567a6dba225b

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