Package com.mongodb

Class MongoTimeoutException

  • All Implemented Interfaces:
    Serializable


    public class MongoTimeoutException
    extends MongoClientException
    An exception indicating that the driver has timed out waiting for either a server or a connection to become available.
    See Also:
    Serialized Form
    • Constructor Detail

      • MongoTimeoutException

        public MongoTimeoutException​(String message)
        Construct a new instance.
        Parameters:
        message - the message