Update MongoDB exceptions classes for 1.0.0

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338043 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jeremy Mikola 2015-10-28 19:58:11 +00:00
parent 94497ce78a
commit 119da3b8a9
21 changed files with 657 additions and 539 deletions

View file

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 337115 $ -->
<book xml:id="mongodb.exceptions" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<titleabbrev>MongoDB\Driver\Exception</titleabbrev>
<title>Exception classes</title>
&reference.mongodb.mongodb.driver.exception.authenticationexception;
&reference.mongodb.mongodb.driver.exception.bulkwriteexception;
&reference.mongodb.mongodb.driver.exception.connectionexception;
&reference.mongodb.mongodb.driver.exception.connectiontimeoutexception;
&reference.mongodb.mongodb.driver.exception.exception;
&reference.mongodb.mongodb.driver.exception.executiontimeoutexception;
&reference.mongodb.mongodb.driver.exception.invalidargumentexception;
&reference.mongodb.mongodb.driver.exception.logicexception;
&reference.mongodb.mongodb.driver.exception.runtimeexception;
&reference.mongodb.mongodb.driver.exception.sslconnectionexception;
&reference.mongodb.mongodb.driver.exception.unexpectedvalueexception;
&reference.mongodb.mongodb.driver.exception.writeexception;
</book>

View file

@ -1,79 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<phpdoc:classref xml:id="class.mongodb-driver-bulkwriteexception" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>The MongoDB\Driver\BulkWriteException class</title>
<titleabbrev>MongoDB\Driver\BulkWriteException</titleabbrev>
<partintro>
<!-- {{{ MongoDB\Driver\BulkWriteException intro -->
<section xml:id="mongodb-driver-bulkwriteexception.intro">
&reftitle.intro;
<para>
</para>
</section>
<!-- }}} -->
<section xml:id="mongodb-driver-bulkwriteexception.synopsis">
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis>
<ooclass><classname>MongoDB\Driver\BulkWriteException</classname></ooclass>
<!-- {{{ Class synopsis -->
<classsynopsisinfo>
<modifier>final</modifier>
<ooclass>
<classname>MongoDB\Driver\BulkWriteException</classname>
</ooclass>
<ooclass>
<modifier>extends</modifier>
<classname>MongoDB\Driver\WriteException</classname>
</ooclass>
<oointerface>
<interfacename>MongoDB\Driver\Exception</interfacename>
</oointerface>
</classsynopsisinfo>
<!-- }}} -->
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('exception.synopsis')/descendant::db:fieldsynopsis)" />
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.mongodb-driver-writeexception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />
</classsynopsis>
<!-- }}} -->
</section>
</partintro>
</phpdoc:classref>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View file

@ -1,79 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<phpdoc:classref xml:id="class.mongodb-driver-duplicatekeyexception" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>The MongoDB\Driver\DuplicateKeyException class</title>
<titleabbrev>MongoDB\Driver\DuplicateKeyException</titleabbrev>
<partintro>
<!-- {{{ MongoDB\Driver\DuplicateKeyException intro -->
<section xml:id="mongodb-driver-duplicatekeyexception.intro">
&reftitle.intro;
<para>
</para>
</section>
<!-- }}} -->
<section xml:id="mongodb-driver-duplicatekeyexception.synopsis">
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis>
<ooclass><classname>MongoDB\Driver\DuplicateKeyException</classname></ooclass>
<!-- {{{ Class synopsis -->
<classsynopsisinfo>
<modifier>final</modifier>
<ooclass>
<classname>MongoDB\Driver\DuplicateKeyException</classname>
</ooclass>
<ooclass>
<modifier>extends</modifier>
<classname>MongoDB\Driver\WriteException</classname>
</ooclass>
<oointerface>
<interfacename>MongoDB\Driver\Exception</interfacename>
</oointerface>
</classsynopsisinfo>
<!-- }}} -->
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('exception.synopsis')/descendant::db:fieldsynopsis)" />
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.mongodb-driver-writeexception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />
</classsynopsis>
<!-- }}} -->
</section>
</partintro>
</phpdoc:classref>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View file

@ -1,49 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- $Revision: 336263 $ -->
<phpdoc:classref xml:id="class.mongodb-driver-authenticationexception" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<phpdoc:classref xml:id="class.mongodb-driver-exception-authenticationexception" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>The MongoDB\Driver\AuthenticationException class</title>
<titleabbrev>MongoDB\Driver\AuthenticationException</titleabbrev>
<title>The MongoDB\Driver\Exception\AuthenticationException class</title>
<titleabbrev>MongoDB\Driver\Exception\AuthenticationException</titleabbrev>
<partintro>
<!-- {{{ MongoDB\Driver\AuthenticationException intro -->
<section xml:id="mongodb-driver-authenticationexception.intro">
<!-- {{{ MongoDB\Driver\Exception\AuthenticationException intro -->
<section xml:id="mongodb-driver-exception-authenticationexception.intro">
&reftitle.intro;
<para>
Thrown when the driver fails to authenticate with the server.
</para>
</section>
<!-- }}} -->
<section xml:id="mongodb-driver-authenticationexception.synopsis">
<section xml:id="mongodb-driver-exception-authenticationexception.synopsis">
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis>
<ooclass><classname>MongoDB\Driver\AuthenticationException</classname></ooclass>
<ooclass><classname>MongoDB\Driver\Exception\AuthenticationException</classname></ooclass>
<!-- {{{ Class synopsis -->
<classsynopsisinfo>
<ooclass>
<classname>MongoDB\Driver\AuthenticationException</classname>
<classname>MongoDB\Driver\Exception\AuthenticationException</classname>
</ooclass>
<ooclass>
<modifier>extends</modifier>
<classname>MongoDB\Driver\ConnectionException</classname>
<classname>MongoDB\Driver\Exception\ConnectionException</classname>
</ooclass>
<oointerface>
<interfacename>MongoDB\Driver\Exception</interfacename>
<interfacename>MongoDB\Driver\Exception\Exception</interfacename>
</oointerface>
</classsynopsisinfo>
<!-- }}} -->
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('exception.synopsis')/descendant::db:fieldsynopsis)" />
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />

View file

@ -0,0 +1,79 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 336263 $ -->
<phpdoc:classref xml:id="class.mongodb-driver-exception-bulkwriteexception" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>The MongoDB\Driver\Exception\BulkWriteException class</title>
<titleabbrev>MongoDB\Driver\Exception\BulkWriteException</titleabbrev>
<partintro>
<!-- {{{ MongoDB\Driver\Exception\BulkWriteException intro -->
<section xml:id="mongodb-driver-exception-bulkwriteexception.intro">
&reftitle.intro;
<para>
Thrown when a bulk write operation fails.
</para>
</section>
<!-- }}} -->
<section xml:id="mongodb-driver-exception-bulkwriteexception.synopsis">
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis>
<ooclass><classname>MongoDB\Driver\Exception\BulkWriteException</classname></ooclass>
<!-- {{{ Class synopsis -->
<classsynopsisinfo>
<ooclass>
<classname>MongoDB\Driver\Exception\BulkWriteException</classname>
</ooclass>
<ooclass>
<modifier>extends</modifier>
<classname>MongoDB\Driver\Exception\WriteException</classname>
</ooclass>
<oointerface>
<interfacename>MongoDB\Driver\Exception\Exception</interfacename>
</oointerface>
</classsynopsisinfo>
<!-- }}} -->
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('mongodb-driver-exception-writeexception.synopsis')/descendant::db:fieldsynopsis)" />
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('exception.synopsis')/descendant::db:fieldsynopsis)" />
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.mongodb-driver-exception-writeexception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />
</classsynopsis>
<!-- }}} -->
</section>
</partintro>
</phpdoc:classref>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View file

@ -1,49 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- $Revision: 336263 $ -->
<phpdoc:classref xml:id="class.mongodb-driver-connectionexception" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<phpdoc:classref xml:id="class.mongodb-driver-exception-connectionexception" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>The MongoDB\Driver\ConnectionException class</title>
<titleabbrev>MongoDB\Driver\ConnectionException</titleabbrev>
<title>The MongoDB\Driver\Exception\ConnectionException class</title>
<titleabbrev>MongoDB\Driver\Exception\ConnectionException</titleabbrev>
<partintro>
<!-- {{{ MongoDB\Driver\ConnectionException intro -->
<section xml:id="mongodb-driver-connectionexception.intro">
<!-- {{{ MongoDB\Driver\Exception\ConnectionException intro -->
<section xml:id="mongodb-driver-exception-connectionexception.intro">
&reftitle.intro;
<para>
Base class for exceptions thrown when the driver fails to establish a
database connection.
</para>
</section>
<!-- }}} -->
<section xml:id="mongodb-driver-connectionexception.synopsis">
<section xml:id="mongodb-driver-exception-connectionexception.synopsis">
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis>
<ooclass><classname>MongoDB\Driver\ConnectionException</classname></ooclass>
<ooclass><classname>MongoDB\Driver\Exception\ConnectionException</classname></ooclass>
<!-- {{{ Class synopsis -->
<classsynopsisinfo>
<ooclass>
<classname>MongoDB\Driver\ConnectionException</classname>
<classname>MongoDB\Driver\Exception\ConnectionException</classname>
</ooclass>
<ooclass>
<modifier>extends</modifier>
<classname>MongoDB\Driver\RuntimeException</classname>
<classname>MongoDB\Driver\Exception\RuntimeException</classname>
</ooclass>
<oointerface>
<interfacename>MongoDB\Driver\Exception</interfacename>
<interfacename>MongoDB\Driver\Exception\Exception</interfacename>
</oointerface>
</classsynopsisinfo>
<!-- }}} -->
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('exception.synopsis')/descendant::db:fieldsynopsis)" />
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />

View file

@ -0,0 +1,79 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 336263 $ -->
<phpdoc:classref xml:id="class.mongodb-driver-exception-connectiontimeoutexception" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>The MongoDB\Driver\Exception\ConnectionTimeoutException class</title>
<titleabbrev>MongoDB\Driver\Exception\ConnectionTimeoutException</titleabbrev>
<partintro>
<!-- {{{ MongoDB\Driver\Exception\ConnectionTimeoutException intro -->
<section xml:id="mongodb-driver-exception-connectiontimeoutexception.intro">
&reftitle.intro;
<para>
Thrown when the driver fails to establish a database connection within a
specified time limit (e.g.
<link xlink:href="&url.mongodb.docs.connecttimeoutms;">connectTimeoutMS</link>).
</para>
</section>
<!-- }}} -->
<section xml:id="mongodb-driver-exception-connectiontimeoutexception.synopsis">
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis>
<ooclass><classname>MongoDB\Driver\Exception\ConnectionTimeoutException</classname></ooclass>
<!-- {{{ Class synopsis -->
<classsynopsisinfo>
<ooclass>
<classname>MongoDB\Driver\Exception\ConnectionTimeoutException</classname>
</ooclass>
<ooclass>
<modifier>extends</modifier>
<classname>MongoDB\Driver\Exception\ConnectionException</classname>
</ooclass>
<oointerface>
<interfacename>MongoDB\Driver\Exception\Exception</interfacename>
</oointerface>
</classsynopsisinfo>
<!-- }}} -->
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('exception.synopsis')/descendant::db:fieldsynopsis)" />
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />
</classsynopsis>
<!-- }}} -->
</section>
</partintro>
</phpdoc:classref>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View file

@ -0,0 +1 @@
&reference.mongodb.mongodb.driver.exception.writeexception.getwriteresult;

View file

@ -1,37 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- $Revision: 336263 $ -->
<phpdoc:classref xml:id="class.mongodb-driver-exception" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<phpdoc:classref xml:id="class.mongodb-driver-exception-exception" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>The MongoDB\Driver\Exception interface</title>
<titleabbrev>MongoDB\Driver\Exception</titleabbrev>
<title>The MongoDB\Driver\Exception\Exception interface</title>
<titleabbrev>MongoDB\Driver\Exception\Exception</titleabbrev>
<partintro>
<!-- {{{ MongoDB\Driver\Exception intro -->
<section xml:id="mongodb-driver-exception.intro">
<!-- {{{ MongoDB\Driver\Exception\Exception intro -->
<section xml:id="mongodb-driver-exception-exception.intro">
&reftitle.intro;
<para>
Common interface for all driver exceptions. This may be used to catch only
exceptions originating from the driver itself.
</para>
</section>
<!-- }}} -->
<section xml:id="mongodb-driver-exception.synopsis">
<section xml:id="mongodb-driver-exception-exception.synopsis">
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis>
<ooclass><classname>MongoDB\Driver\Exception</classname></ooclass>
<ooclass><classname>MongoDB\Driver\Exception\Exception</classname></ooclass>
<!-- {{{ Class synopsis -->
<classsynopsisinfo>
<ooclass>
<classname>MongoDB\Driver\Exception</classname>
<classname>MongoDB\Driver\Exception\Exception</classname>
</ooclass>
</classsynopsisinfo>
<!-- }}} -->
</classsynopsis>
<!-- }}} -->

View file

@ -0,0 +1,79 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 336263 $ -->
<phpdoc:classref xml:id="class.mongodb-driver-exception-executiontimeoutexception" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>The MongoDB\Driver\Exception\ExecutionTimeoutException class</title>
<titleabbrev>MongoDB\Driver\Exception\ExecutionTimeoutException</titleabbrev>
<partintro>
<!-- {{{ MongoDB\Driver\Exception\ExecutionTimeoutException intro -->
<section xml:id="mongodb-driver-exception-executiontimeoutexception.intro">
&reftitle.intro;
<para>
Thrown when a query or command fails to complete within a specified time
limit (e.g.
<link xlink:href="&url.mongodb.docs.maxtimems;">maxTimeMS</link>).
</para>
</section>
<!-- }}} -->
<section xml:id="mongodb-driver-exception-executiontimeoutexception.synopsis">
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis>
<ooclass><classname>MongoDB\Driver\Exception\ExecutionTimeoutException</classname></ooclass>
<!-- {{{ Class synopsis -->
<classsynopsisinfo>
<ooclass>
<classname>MongoDB\Driver\Exception\ExecutionTimeoutException</classname>
</ooclass>
<ooclass>
<modifier>extends</modifier>
<classname>MongoDB\Driver\Exception\RuntimeException</classname>
</ooclass>
<oointerface>
<interfacename>MongoDB\Driver\Exception\Exception</interfacename>
</oointerface>
</classsynopsisinfo>
<!-- }}} -->
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('exception.synopsis')/descendant::db:fieldsynopsis)" />
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />
</classsynopsis>
<!-- }}} -->
</section>
</partintro>
</phpdoc:classref>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View file

@ -0,0 +1,78 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 336263 $ -->
<phpdoc:classref xml:id="class.mongodb-driver-exception-invalidargumentexception" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>The MongoDB\Driver\Exception\InvalidArgumentException class</title>
<titleabbrev>MongoDB\Driver\Exception\InvalidArgumentException</titleabbrev>
<partintro>
<!-- {{{ MongoDB\Driver\Exception\InvalidArgumentException intro -->
<section xml:id="mongodb-driver-exception-invalidargumentexception.intro">
&reftitle.intro;
<para>
Thrown when a driver method is given invalid arguments (e.g. invalid option
types).
</para>
</section>
<!-- }}} -->
<section xml:id="mongodb-driver-exception-invalidargumentexception.synopsis">
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis>
<ooclass><classname>MongoDB\Driver\Exception\InvalidArgumentException</classname></ooclass>
<!-- {{{ Class synopsis -->
<classsynopsisinfo>
<ooclass>
<classname>MongoDB\Driver\Exception\InvalidArgumentException</classname>
</ooclass>
<ooclass>
<modifier>extends</modifier>
<classname>InvalidArgumentException</classname>
</ooclass>
<oointerface>
<interfacename>MongoDB\Driver\Exception\Exception</interfacename>
</oointerface>
</classsynopsisinfo>
<!-- }}} -->
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('exception.synopsis')/descendant::db:fieldsynopsis)" />
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />
</classsynopsis>
<!-- }}} -->
</section>
</partintro>
</phpdoc:classref>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View file

@ -1,49 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- $Revision: 336263 $ -->
<phpdoc:classref xml:id="class.mongodb-driver-invalidargumentexception" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<phpdoc:classref xml:id="class.mongodb-driver-exception-logicexception" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>The MongoDB\Driver\InvalidArgumentException class</title>
<titleabbrev>MongoDB\Driver\InvalidArgumentException</titleabbrev>
<title>The MongoDB\Driver\Exception\LogicException class</title>
<titleabbrev>MongoDB\Driver\Exception\LogicException</titleabbrev>
<partintro>
<!-- {{{ MongoDB\Driver\InvalidArgumentException intro -->
<section xml:id="mongodb-driver-invalidargumentexception.intro">
<!-- {{{ MongoDB\Driver\Exception\LogicException intro -->
<section xml:id="mongodb-driver-exception-logicexception.intro">
&reftitle.intro;
<para>
Thrown when the driver is incorrectly used (e.g. rewinding a cursor).
</para>
</section>
<!-- }}} -->
<section xml:id="mongodb-driver-invalidargumentexception.synopsis">
<section xml:id="mongodb-driver-exception-logicexception.synopsis">
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis>
<ooclass><classname>MongoDB\Driver\InvalidArgumentException</classname></ooclass>
<ooclass><classname>MongoDB\Driver\Exception\LogicException</classname></ooclass>
<!-- {{{ Class synopsis -->
<classsynopsisinfo>
<ooclass>
<classname>MongoDB\Driver\InvalidArgumentException</classname>
<classname>MongoDB\Driver\Exception\LogicException</classname>
</ooclass>
<ooclass>
<modifier>extends</modifier>
<classname>InvalidArgumentException</classname>
<classname>LogicException</classname>
</ooclass>
<oointerface>
<interfacename>MongoDB\Driver\Exception</interfacename>
<interfacename>MongoDB\Driver\Exception\Exception</interfacename>
</oointerface>
</classsynopsisinfo>
<!-- }}} -->
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('exception.synopsis')/descendant::db:fieldsynopsis)" />
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />

View file

@ -1,49 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- $Revision: 336263 $ -->
<phpdoc:classref xml:id="class.mongodb-driver-runtimeexception" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<phpdoc:classref xml:id="class.mongodb-driver-exception-runtimeexception" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>The MongoDB\Driver\RuntimeException class</title>
<titleabbrev>MongoDB\Driver\RuntimeException</titleabbrev>
<title>The MongoDB\Driver\Exception\RuntimeException class</title>
<titleabbrev>MongoDB\Driver\Exception\RuntimeException</titleabbrev>
<partintro>
<!-- {{{ MongoDB\Driver\RuntimeException intro -->
<section xml:id="mongodb-driver-runtimeexception.intro">
<!-- {{{ MongoDB\Driver\Exception\RuntimeException intro -->
<section xml:id="mongodb-driver-exception-runtimeexception.intro">
&reftitle.intro;
<para>
Thrown when the driver encounters a runtime error (e.g. internal error from
<link xlink:href="&url.mongodb.libmongoc;">libmongoc</link>).
</para>
</section>
<!-- }}} -->
<section xml:id="mongodb-driver-runtimeexception.synopsis">
<section xml:id="mongodb-driver-exception-runtimeexception.synopsis">
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis>
<ooclass><classname>MongoDB\Driver\RuntimeException</classname></ooclass>
<ooclass><classname>MongoDB\Driver\Exception\RuntimeException</classname></ooclass>
<!-- {{{ Class synopsis -->
<classsynopsisinfo>
<ooclass>
<classname>MongoDB\Driver\RuntimeException</classname>
<classname>MongoDB\Driver\Exception\RuntimeException</classname>
</ooclass>
<ooclass>
<modifier>extends</modifier>
<classname>RuntimeException</classname>
</ooclass>
<oointerface>
<interfacename>MongoDB\Driver\Exception</interfacename>
<interfacename>MongoDB\Driver\Exception\Exception</interfacename>
</oointerface>
</classsynopsisinfo>
<!-- }}} -->
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('exception.synopsis')/descendant::db:fieldsynopsis)" />
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />

View file

@ -1,50 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- $Revision: 336263 $ -->
<phpdoc:classref xml:id="class.mongodb-driver-sslconnectionexception" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<phpdoc:classref xml:id="class.mongodb-driver-exception-sslconnectionexception" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>The MongoDB\Driver\SSLConnectionException class</title>
<titleabbrev>MongoDB\Driver\SSLConnectionException</titleabbrev>
<title>The MongoDB\Driver\Exception\SSLConnectionException class</title>
<titleabbrev>MongoDB\Driver\Exception\SSLConnectionException</titleabbrev>
<partintro>
<!-- {{{ MongoDB\Driver\SSLConnectionException intro -->
<section xml:id="mongodb-driver-sslconnectionexception.intro">
<!-- {{{ MongoDB\Driver\Exception\SSLConnectionException intro -->
<section xml:id="mongodb-driver-exception-sslconnectionexception.intro">
&reftitle.intro;
<para>
Thrown when the driver fails to establish an SSL connection with the server.
</para>
</section>
<!-- }}} -->
<section xml:id="mongodb-driver-sslconnectionexception.synopsis">
<section xml:id="mongodb-driver-exception-sslconnectionexception.synopsis">
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis>
<ooclass><classname>MongoDB\Driver\SSLConnectionException</classname></ooclass>
<ooclass><classname>MongoDB\Driver\Exception\SSLConnectionException</classname></ooclass>
<!-- {{{ Class synopsis -->
<classsynopsisinfo>
<modifier>final</modifier>
<ooclass>
<classname>MongoDB\Driver\SSLConnectionException</classname>
<classname>MongoDB\Driver\Exception\SSLConnectionException</classname>
</ooclass>
<ooclass>
<modifier>extends</modifier>
<classname>MongoDB\Driver\ConnectionException</classname>
<classname>MongoDB\Driver\Exception\ConnectionException</classname>
</ooclass>
<oointerface>
<interfacename>MongoDB\Driver\Exception</interfacename>
<interfacename>MongoDB\Driver\Exception\Exception</interfacename>
</oointerface>
</classsynopsisinfo>
<!-- }}} -->
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('exception.synopsis')/descendant::db:fieldsynopsis)" />
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />

View file

@ -0,0 +1,78 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 336263 $ -->
<phpdoc:classref xml:id="class.mongodb-driver-exception-unexpectedvalueexception" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>The MongoDB\Driver\Exception\UnexpectedValueException class</title>
<titleabbrev>MongoDB\Driver\Exception\UnexpectedValueException</titleabbrev>
<partintro>
<!-- {{{ MongoDB\Driver\Exception\UnexpectedValueException intro -->
<section xml:id="mongodb-driver-exception-unexpectedvalueexception.intro">
&reftitle.intro;
<para>
Thrown when the driver encounters an unexpected value (e.g. during BSON
serialization or deserialization).
</para>
</section>
<!-- }}} -->
<section xml:id="mongodb-driver-exception-unexpectedvalueexception.synopsis">
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis>
<ooclass><classname>MongoDB\Driver\Exception\UnexpectedValueException</classname></ooclass>
<!-- {{{ Class synopsis -->
<classsynopsisinfo>
<ooclass>
<classname>MongoDB\Driver\Exception\UnexpectedValueException</classname>
</ooclass>
<ooclass>
<modifier>extends</modifier>
<classname>UnexpectedValueException</classname>
</ooclass>
<oointerface>
<interfacename>MongoDB\Driver\Exception\Exception</interfacename>
</oointerface>
</classsynopsisinfo>
<!-- }}} -->
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('exception.synopsis')/descendant::db:fieldsynopsis)" />
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />
</classsynopsis>
<!-- }}} -->
</section>
</partintro>
</phpdoc:classref>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View file

@ -1,57 +1,59 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- $Revision: 336263 $ -->
<phpdoc:classref xml:id="class.mongodb-driver-writeexception" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<phpdoc:classref xml:id="class.mongodb-driver-exception-writeexception" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>The MongoDB\Driver\WriteException class</title>
<titleabbrev>MongoDB\Driver\WriteException</titleabbrev>
<title>The MongoDB\Driver\Exception\WriteException class</title>
<titleabbrev>MongoDB\Driver\Exception\WriteException</titleabbrev>
<partintro>
<!-- {{{ MongoDB\Driver\WriteException intro -->
<section xml:id="mongodb-driver-writeexception.intro">
<!-- {{{ MongoDB\Driver\Exception\WriteException intro -->
<section xml:id="mongodb-driver-exception-writeexception.intro">
&reftitle.intro;
<para>
Base class for exceptions thrown by a failed write operation. The exception
encapsulates a <classname>MongoDB\Driver\WriteResult</classname> object.
</para>
</section>
<!-- }}} -->
<section xml:id="mongodb-driver-writeexception.synopsis">
<section xml:id="mongodb-driver-exception-writeexception.synopsis">
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis>
<ooclass><classname>MongoDB\Driver\WriteException</classname></ooclass>
<ooclass><classname>MongoDB\Driver\Exception\WriteException</classname></ooclass>
<!-- {{{ Class synopsis -->
<classsynopsisinfo>
<ooclass>
<classname>MongoDB\Driver\WriteException</classname>
<modifier>abstract</modifier>
<classname>MongoDB\Driver\Exception\WriteException</classname>
</ooclass>
<ooclass>
<modifier>extends</modifier>
<classname>MongoDB\Driver\RuntimeException</classname>
<classname>MongoDB\Driver\Exception\RuntimeException</classname>
</ooclass>
<oointerface>
<interfacename>MongoDB\Driver\Exception</interfacename>
<interfacename>MongoDB\Driver\Exception\Exception</interfacename>
</oointerface>
</classsynopsisinfo>
<!-- }}} -->
<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
<fieldsynopsis>
<modifier>protected</modifier>
<varname linkend="mongodb-driver-writeexception.props.writeresult">writeResult</varname>
<type>MongoDB\Driver\WriteResult</type>
<varname linkend="mongodb-driver-exception-writeexception.props.writeresult">writeResult</varname>
</fieldsynopsis>
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('exception.synopsis')/descendant::db:fieldsynopsis)" />
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.mongodb-driver-writeexception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.mongodb-driver-exception-writeexception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />
@ -62,14 +64,17 @@
</section>
<!-- {{{ MongoDB\Driver\WriteException properties -->
<section xml:id="mongodb-driver-writeexception.props">
<!-- {{{ MongoDB\Driver\Exception\WriteException properties -->
<section xml:id="mongodb-driver-exception-writeexception.props">
&reftitle.properties;
<variablelist>
<varlistentry xml:id="mongodb-driver-writeexception.props.writeresult">
<varlistentry xml:id="mongodb-driver-exception-writeexception.props.writeresult">
<term><varname>writeResult</varname></term>
<listitem>
<para></para>
<para>
The <classname>MongoDB\Driver\WriteResult</classname> associated with
the failed write operation.
</para>
</listitem>
</varlistentry>
</variablelist>
@ -79,7 +84,7 @@
</partintro>
&reference.mongodb.mongodb.driver.entities.writeexception;
&reference.mongodb.mongodb.driver.exception.entities.writeexception;
</phpdoc:classref>

View file

@ -0,0 +1,121 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 336263 $ -->
<refentry xml:id="mongodb-driver-writeexception.getwriteresult" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>MongoDB\Driver\Exception\WriteException::getWriteResult</refname>
<refpurpose>Returns the WriteResult for the failed write operation</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>final</modifier> <modifier>public</modifier> <type>MongoDB\Driver\WriteResult</type><methodname>MongoDB\Driver\WriteException::getWriteResult</methodname>
<void />
</methodsynopsis>
<para>
Returns the <classname>MongoDB\Driver\WriteResult</classname> for the failed
write operation. The
<function>MongoDB\Driver\WriteResult::getWriteErrors</function> and
<function>MongoDB\Driver\WriteResult::getWriteConcernError</function> methods
may be used to get more details about the failure.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
The <classname>MongoDB\Driver\WriteResult</classname> for the failed write
operation.
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<example>
<title><function>MongoDB\Driver\WriteException::getWriteResult</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
$manager = new MongoDB\Driver\Manager('mongodb://localhost');
$bulk = new MongoDB\Driver\BulkWrite;
$bulk->insert(['_id' => 1]);
$bulk->insert(['_id' => 1]);
try {
$manager->executeBulkWrite('db.collection', $bulk);
} catch (MongoDB\Driver\Exception\WriteException $e) {
$writeResult = $e->getWriteResult();
if ($writeConcernError = $writeResult->getWriteConcernError()) {
var_dump($writeConcernError);
}
if ($writeErrors = $writeResult->getWriteErrors()) {
var_dump($writeErrors);
}
}
?>
]]>
</programlisting>
&example.outputs.similar;
<screen>
<![CDATA[
array(1) {
[0]=>
object(MongoDB\Driver\WriteError)#5 (4) {
["message"]=>
string(70) "E11000 duplicate key error index: db.collection.$_id_ dup key: { : 1 }"
["code"]=>
int(11000)
["index"]=>
int(1)
["info"]=>
NULL
}
}
]]>
</screen>
</example>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<simplelist>
<member><classname>MongoDB\Driver\WriteResult</classname></member>
<member><function>MongoDB\Driver\Manager::executeBulkWrite</function></member>
</simplelist>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View file

@ -1,79 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<phpdoc:classref xml:id="class.mongodb-driver-writeconcernexception" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>The MongoDB\Driver\WriteConcernException class</title>
<titleabbrev>MongoDB\Driver\WriteConcernException</titleabbrev>
<partintro>
<!-- {{{ MongoDB\Driver\WriteConcernException intro -->
<section xml:id="mongodb-driver-writeconcernexception.intro">
&reftitle.intro;
<para>
</para>
</section>
<!-- }}} -->
<section xml:id="mongodb-driver-writeconcernexception.synopsis">
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis>
<ooclass><classname>MongoDB\Driver\WriteConcernException</classname></ooclass>
<!-- {{{ Class synopsis -->
<classsynopsisinfo>
<modifier>final</modifier>
<ooclass>
<classname>MongoDB\Driver\WriteConcernException</classname>
</ooclass>
<ooclass>
<modifier>extends</modifier>
<classname>MongoDB\Driver\WriteException</classname>
</ooclass>
<oointerface>
<interfacename>MongoDB\Driver\Exception</interfacename>
</oointerface>
</classsynopsisinfo>
<!-- }}} -->
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('exception.synopsis')/descendant::db:fieldsynopsis)" />
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.mongodb-driver-writeexception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />
</classsynopsis>
<!-- }}} -->
</section>
</partintro>
</phpdoc:classref>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View file

@ -1,93 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="mongodb-driver-writeexception.getwriteresult" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>MongoDB\Driver\WriteException::getWriteResult</refname>
<refpurpose>Description</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>final</modifier> <modifier>public</modifier> <type>ReturnType</type><methodname>MongoDB\Driver\WriteException::getWriteResult</methodname>
<void />
</methodsynopsis>
<para>
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
</para>
</refsect1>
<refsect1 role="errors">
&reftitle.errors;
<para>
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<example>
<title><function>MongoDB\Driver\WriteException::getWriteResult</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
/* ... */
?>
]]>
</programlisting>
&example.outputs.similar;
<screen>
<![CDATA[
...
]]>
</screen>
</example>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<simplelist>
<member></member>
</simplelist>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View file

@ -39,22 +39,7 @@
&reference.mongodb.mongodb;
&reference.mongodb.bson;
<book xml:id="mongodb.exceptions" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Exceptions</title>
<titleabbrev>MongoDB Exceptions</titleabbrev>
&reference.mongodb.mongodb.driver.exception;
&reference.mongodb.mongodb.driver.runtimeexception;
&reference.mongodb.mongodb.driver.connectionexception;
&reference.mongodb.mongodb.driver.sslconnectionexception;
&reference.mongodb.mongodb.driver.authenticationexception;
&reference.mongodb.mongodb.driver.writeexception;
&reference.mongodb.mongodb.driver.bulkwriteexception;
&reference.mongodb.mongodb.driver.writeconcernexception;
&reference.mongodb.mongodb.driver.duplicatekeyexception;
</book>
&reference.mongodb.exceptions;
</set>
<!-- Keep this comment at the end of the file

View file

@ -89,93 +89,18 @@
<function name='mongodb\driver\writeresult::getwriteconcernerror' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\writeresult::getwriteerrors' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\exception' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\runtimeexception' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\runtimeexception::__clone' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\runtimeexception::__construct' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\runtimeexception::getmessage' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\runtimeexception::getcode' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\runtimeexception::getfile' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\runtimeexception::getline' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\runtimeexception::gettrace' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\runtimeexception::getprevious' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\runtimeexception::gettraceasstring' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\runtimeexception::__tostring' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\invalidargumentexception' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\invalidargumentexception::__clone' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\invalidargumentexception::__construct' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\invalidargumentexception::getmessage' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\invalidargumentexception::getcode' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\invalidargumentexception::getfile' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\invalidargumentexception::getline' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\invalidargumentexception::gettrace' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\invalidargumentexception::getprevious' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\invalidargumentexception::gettraceasstring' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\invalidargumentexception::__tostring' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\connectionexception' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\connectionexception::__clone' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\connectionexception::__construct' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\connectionexception::getmessage' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\connectionexception::getcode' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\connectionexception::getfile' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\connectionexception::getline' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\connectionexception::gettrace' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\connectionexception::getprevious' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\connectionexception::gettraceasstring' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\connectionexception::__tostring' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\authenticationexception' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\authenticationexception::__clone' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\authenticationexception::__construct' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\authenticationexception::getmessage' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\authenticationexception::getcode' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\authenticationexception::getfile' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\authenticationexception::getline' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\authenticationexception::gettrace' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\authenticationexception::getprevious' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\authenticationexception::gettraceasstring' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\authenticationexception::__tostring' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\sslconnectionexception' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\sslconnectionexception::__clone' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\sslconnectionexception::__construct' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\sslconnectionexception::getmessage' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\sslconnectionexception::getcode' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\sslconnectionexception::getfile' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\sslconnectionexception::getline' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\sslconnectionexception::gettrace' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\sslconnectionexception::getprevious' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\sslconnectionexception::gettraceasstring' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\sslconnectionexception::__tostring' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\writeexception' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\writeexception::getwriteresult' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\writeexception::__clone' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\writeexception::__construct' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\writeexception::getmessage' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\writeexception::getcode' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\writeexception::getfile' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\writeexception::getline' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\writeexception::gettrace' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\writeexception::getprevious' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\writeexception::gettraceasstring' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\writeexception::__tostring' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\duplicatekeyexception' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\duplicatekeyexception::getwriteresult' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\duplicatekeyexception::__clone' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\duplicatekeyexception::__construct' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\duplicatekeyexception::getmessage' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\duplicatekeyexception::getcode' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\duplicatekeyexception::getfile' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\duplicatekeyexception::getline' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\duplicatekeyexception::gettrace' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\duplicatekeyexception::getprevious' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\duplicatekeyexception::gettraceasstring' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\duplicatekeyexception::__tostring' from='mongodb &gt;=0.2.0'/>
<function name='mongodb\driver\exception\authenticationexception' from='mongodb &gt;= 1.0.0'/>
<function name='mongodb\driver\exception\bulkwriteexception' from='mongodb &gt;= 1.0.0'/>
<function name='mongodb\driver\exception\connectiontimeoutexception' from='mongodb &gt;= 1.0.0'/>
<function name='mongodb\driver\exception\exception' from='mongodb &gt;= 1.0.0'/>
<function name='mongodb\driver\exception\excecutiontimeoutexception' from='mongodb &gt;= 1.0.0'/>
<function name='mongodb\driver\exception\invalidargumentexception' from='mongodb &gt;= 1.0.0'/>
<function name='mongodb\driver\exception\logicexception' from='mongodb &gt;= 1.0.0'/>
<function name='mongodb\driver\exception\runtimeexception' from='mongodb &gt;= 1.0.0'/>
<function name='mongodb\driver\exception\sslconnectionexception' from='mongodb &gt;= 1.0.0'/>
<function name='mongodb\driver\exception\unexpectedvalueexception' from='mongodb &gt;= 1.0.0'/>
<function name='mongodb\driver\exception\writeexception' from='mongodb &gt;= 1.0.0'/>
<function name='mongodb\driver\exception\writeexception::getwriteresult' from='mongodb &gt;= 1.0.0'/>
<function name='bson\type' from='mongodb &gt;=0.2.0'/>