Package com.mongodb
Class MongoExecutionTimeoutException
-
-
-
-
- com.mongodb.MongoException
-
- com.mongodb.MongoExecutionTimeoutException
-
-
-
-
- All Implemented Interfaces:
public class MongoExecutionTimeoutException extends MongoException
Exception indicating that the execution of the current operation timed out as a result of the maximum operation time being exceeded.- Since:
- 2.12
- See Also:
- 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 MongoExecutionTimeoutException(int code, message)
Construct a new instance.
-
Method Summary
-
Methods inherited from class com.mongodb.MongoException
addLabel, fromThrowable, fromThrowableNonNull, getCode, getErrorLabels, hasErrorLabel, removeLabel
-
-