Details
-
Improvement
-
Resolution: Duplicate
-
Major - P3
-
1.3.1
-
None
-
None
Description
I propose that MongoConnectionPool should throw MongoConnectionException("Timeout waiting for a MongoConnection."). I recommend this for uniform exception handling model – user code should rely that all application-level failures (yes, I understand that the "application-level" definition is a bit vague) should be propagated with application-level exceptions – after all it's a connection error, not dissimilar to plain socket failure.
Attachments
Issue Links
- is related to
-
CSHARP-153 Wrapping internal communication exceptions
-
- Closed
-
-
CSHARP-474 Review all exceptions thrown by the C# driver
-
- Closed
-