Package com.mongodb
Class MongoWaitQueueFullException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.mongodb.MongoException
-
- com.mongodb.MongoClientException
-
- com.mongodb.MongoWaitQueueFullException
-
- All Implemented Interfaces:
java.io.Serializable
@Deprecated public class MongoWaitQueueFullException extends MongoClientException
Deprecated.In the next major release the limit on wait queue size will be removed, so this exception will no longer be thrownAn exception indicating that the queue for waiting for a pooled connection is full.- Since:
- 3.0
- See Also:
ConnectionPoolSettings.getMaxWaitQueueSize()
, Serialized Form
-
-
Field Summary
-
Fields inherited from class com.mongodb.MongoException
TRANSIENT_TRANSACTION_ERROR_LABEL, UNKNOWN_TRANSACTION_COMMIT_RESULT_LABEL
-
-
Constructor Summary
Constructors Constructor Description MongoWaitQueueFullException(java.lang.String message)
Deprecated.Constructs a new instance with the given message.
-
Method Summary
-
Methods inherited from class com.mongodb.MongoException
addLabel, fromThrowable, fromThrowableNonNull, getCode, getErrorLabels, hasErrorLabel, removeLabel
-
-