[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: |
|
||||||||
| Documentation Changes Summary: | 1. What would you like to communicate to the user about this feature? |
||||||||
| 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. |