[JAVA-4943] Annotate as not part of the public API all constructors and constructor methods that are part of the public API but do not belong there Created: 18/Apr/23  Updated: 08/Sep/23  Resolved: 08/Sep/23

Status: Closed
Project: Java Driver
Component/s: API
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Valentin Kavalenka Assignee: Unassigned
Resolution: Declined Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Gantt Dependency
has to be done after JAVA-4942 Mark as deprecated all constructors a... Closed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

This is a follow-up for https://jira.mongodb.org/browse/JAVA-4942, which must be done in 5.0 if we decide to do it.



 Comments   
Comment by Jeffrey Yemin [ 14/Aug/23 ]

From offline discussion: Constructors for exceptions may be used by application tests that utilize mocking in order to test exception handling, so it would be inconvenient if those constructors were not part of the API.

Generated at Thu Feb 08 09:03:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.