array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'es', ), 'this' => array ( 0 => 'class.mongodb-driver-exception-connectiontimeoutexception.php', 1 => 'MongoDB\\Driver\\Exception\\ConnectionTimeoutException', ), 'up' => array ( 0 => 'mongodb.exceptions.php', 1 => 'MongoDB\\Controlador\\Excepciones', ), 'prev' => array ( 0 => 'class.mongodb-driver-exception-connectionexception.php', 1 => 'MongoDB\\Driver\\Exception\\ConnectionException', ), 'next' => array ( 0 => 'class.mongodb-driver-exception-encryptionexception.php', 1 => 'MongoDB\\Driver\\Exception\\EncryptionException', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mongodb/mongodb/driver/exception/connectiontimeoutexception.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(mongodb >= 1.0.0)
Thrown when the driver fails to establish a database connection within a specified time limit (connectTimeoutMS) or server selection fails (serverSelectionTimeoutMS).