2015-10-28 19:58:11 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2017-09-02 18:42:15 +00:00
|
|
|
<!-- $Revision$ -->
|
2015-10-28 19:58:11 +00:00
|
|
|
|
|
|
|
<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;
|
2018-03-20 17:23:52 +00:00
|
|
|
&reference.mongodb.mongodb.driver.exception.commandexception;
|
2015-10-28 19:58:11 +00:00
|
|
|
&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;
|
2018-03-20 14:12:33 +00:00
|
|
|
&reference.mongodb.mongodb.driver.exception.serverexception;
|
2015-10-28 19:58:11 +00:00
|
|
|
&reference.mongodb.mongodb.driver.exception.sslconnectionexception;
|
|
|
|
&reference.mongodb.mongodb.driver.exception.unexpectedvalueexception;
|
|
|
|
&reference.mongodb.mongodb.driver.exception.writeexception;
|
|
|
|
|
2018-07-18 19:56:53 +00:00
|
|
|
<article xml:id="mongodb.exceptions.tree">
|
|
|
|
<titleabbrev>Class Tree</titleabbrev>
|
|
|
|
<title>MongoDB Exception Class Tree</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
The class hierarchy for MongoDB exceptions is modeled after that of the
|
|
|
|
<link linkend="spl.exceptions">SPL Exceptions</link>. Base classes extend
|
|
|
|
their SPL counterpart and all exception classes in the extension implement
|
|
|
|
the <classname>MongoDB\Driver\Exception\Exception</classname> interface.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem><simpara><classname>MongoDB\Driver\Exception\LogicException</classname> (extends <classname>LogicException</classname>)</simpara></listitem>
|
|
|
|
<listitem><simpara><classname>MongoDB\Driver\Exception\InvalidArgumentException</classname> (extends <classname>InvalidArgumentException</classname>)</simpara></listitem>
|
|
|
|
<listitem><simpara><classname>MongoDB\Driver\Exception\UnexpectedValueException</classname> (extends <classname>UnexpectedValueException</classname>)</simpara></listitem>
|
|
|
|
<listitem>
|
|
|
|
<simpara><classname>MongoDB\Driver\Exception\RuntimeException</classname> (extends <classname>RuntimeException</classname>)</simpara>
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<simpara><classname>MongoDB\Driver\Exception\ConnectionException</classname></simpara>
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem><simpara><classname>MongoDB\Driver\Exception\AuthenticationException</classname></simpara></listitem>
|
|
|
|
<listitem><simpara><classname>MongoDB\Driver\Exception\ConnectionTimeoutException</classname></simpara></listitem>
|
|
|
|
<listitem><simpara><classname>MongoDB\Driver\Exception\SSLConnectionException</classname> (deprecated)</simpara></listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<simpara><classname>MongoDB\Driver\Exception\ServerException</classname></simpara>
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem><simpara><classname>MongoDB\Driver\Exception\CommandException</classname></simpara></listitem>
|
|
|
|
<listitem><simpara><classname>MongoDB\Driver\Exception\ExecutionTimeoutException</classname></simpara></listitem>
|
|
|
|
<listitem>
|
|
|
|
<simpara><classname>MongoDB\Driver\Exception\WriteException</classname></simpara>
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem><simpara><classname>MongoDB\Driver\Exception\BulkWriteException</classname></simpara></listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</article>
|
|
|
|
|
|
|
|
</book>
|