Package com.mongodb

Class MongoExecutionTimeoutException

  • All Implemented Interfaces:
    Serializable


    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
    • Constructor Detail

      • MongoExecutionTimeoutException

        public MongoExecutionTimeoutException​(int code,
                                              String message)
        Construct a new instance.
        Parameters:
        code - the error code
        message - the error message