[CXX-1234] Clean up use of exceptions in GridFS Created: 28/Feb/17 Updated: 13/Apr/17 Resolved: 13/Apr/17 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | Implementation |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Samuel Rossi (Inactive) | Assignee: | J Rassi |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
Currently, all exceptions thrown in GridFS code are generic `std::exception`. These should be replaced with more proper specific exceptions (i.e. either existing or newly-created exceptions in the `mongocx/exception` directory. Also, as part of the work for this ticket, we should validate user-provided and server-provided input. |
| Comments |
| Comment by Githook User [ 13/Apr/17 ] |
|
Author: {u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}Message: Covers cases of:
|
| Comment by Githook User [ 07/Apr/17 ] |
|
Author: {u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}Message: |
| Comment by Githook User [ 07/Apr/17 ] |
|
Author: {u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}Message: |
| Comment by Githook User [ 06/Apr/17 ] |
|
Author: {u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}Message: Adds a new exception type `mongocxx::gridfs_exception`, and several |