-
Type: Improvement
-
Resolution: Declined
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: API
-
None
Driver exceptions must be in the public API, but their constructors do not belong there, and should not be part of the public API even though currently they are. The same may be applicable to driver events, and, possibly, to other classes we have in the public API.
This ticket was created as a result of https://github.com/mongodb/mongo-java-driver/pull/1104#discussion_r1169341571.
This is a precursor to JAVA-4943, it must be done in 4.x if we decide to do it.
- has to be done before
-
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
- Closed