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:
Serializable
public class MongoWaitQueueFullException extends MongoClientException
An 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(String message)
Constructs a new instance with the given message.
-
Method Summary
-
Methods inherited from class com.mongodb.MongoException
addLabel, fromThrowable, fromThrowableNonNull, getCode, getErrorLabels, hasErrorLabel, removeLabel
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MongoWaitQueueFullException
public MongoWaitQueueFullException(String message)
Constructs a new instance with the given message.- Parameters:
message
- the message
-
-