-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Major - P3
-
Affects Version/s: 1.3.1
-
Component/s: None
-
None
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.
- is related to
-
CSHARP-153 Wrapping internal communication exceptions
- Closed
-
CSHARP-474 Review all exceptions thrown by the C# driver
- Closed