reference/mongodb/exceptions.xml
594b45f55e4651003dc2077f61b3ff93cead1ad1
...
...
@@ -0,0 +1,69 @@
1
+
<?xml version="1.0" encoding="utf-8"?>
2
+
<!-- $Revision$ -->
3
+

4
+
<book xml:id="mongodb.exceptions" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
+
<titleabbrev>MongoDB\Driver\Exception</titleabbrev>
6
+
<title>Exception classes</title>
7
+

8
+
&reference.mongodb.mongodb.driver.exception.authenticationexception;
9
+
&reference.mongodb.mongodb.driver.exception.bulkwriteexception;
10
+
&reference.mongodb.mongodb.driver.exception.commandexception;
11
+
&reference.mongodb.mongodb.driver.exception.connectionexception;
12
+
&reference.mongodb.mongodb.driver.exception.connectiontimeoutexception;
13
+
&reference.mongodb.mongodb.driver.exception.encryptionexception;
14
+
&reference.mongodb.mongodb.driver.exception.exception;
15
+
&reference.mongodb.mongodb.driver.exception.executiontimeoutexception;
16
+
&reference.mongodb.mongodb.driver.exception.invalidargumentexception;
17
+
&reference.mongodb.mongodb.driver.exception.logicexception;
18
+
&reference.mongodb.mongodb.driver.exception.runtimeexception;
19
+
&reference.mongodb.mongodb.driver.exception.serverexception;
20
+
&reference.mongodb.mongodb.driver.exception.sslconnectionexception;
21
+
&reference.mongodb.mongodb.driver.exception.unexpectedvalueexception;
22
+
&reference.mongodb.mongodb.driver.exception.writeexception;
23
+

24
+
<article xml:id="mongodb.exceptions.tree">
25
+
<titleabbrev>Class Tree</titleabbrev>
26
+
<title>MongoDB Exception Class Tree</title>
27
+

28
+
<para>
29
+
The class hierarchy for MongoDB exceptions is modeled after that of the
30
+
<link linkend="spl.exceptions">SPL Exceptions</link>. Base classes extend
31
+
their SPL counterpart and all exception classes in the extension implement
32
+
the <classname>MongoDB\Driver\Exception\Exception</classname> interface.
33
+
</para>
34
+

35
+
<itemizedlist>
36
+
<listitem><simpara><classname>MongoDB\Driver\Exception\LogicException</classname> (extends <classname>LogicException</classname>)</simpara></listitem>
37
+
<listitem><simpara><classname>MongoDB\Driver\Exception\InvalidArgumentException</classname> (extends <classname>InvalidArgumentException</classname>)</simpara></listitem>
38
+
<listitem><simpara><classname>MongoDB\Driver\Exception\UnexpectedValueException</classname> (extends <classname>UnexpectedValueException</classname>)</simpara></listitem>
39
+
<listitem>
40
+
<simpara><classname>MongoDB\Driver\Exception\RuntimeException</classname> (extends <classname>RuntimeException</classname>)</simpara>
41
+
<itemizedlist>
42
+
<listitem>
43
+
<simpara><classname>MongoDB\Driver\Exception\ConnectionException</classname></simpara>
44
+
<itemizedlist>
45
+
<listitem><simpara><classname>MongoDB\Driver\Exception\AuthenticationException</classname></simpara></listitem>
46
+
<listitem><simpara><classname>MongoDB\Driver\Exception\ConnectionTimeoutException</classname></simpara></listitem>
47
+
<listitem><simpara><classname>MongoDB\Driver\Exception\SSLConnectionException</classname> (deprecated)</simpara></listitem>
48
+
</itemizedlist>
49
+
</listitem>
50
+
<listitem><simpara><classname>MongoDB\Driver\Exception\EncryptionException</classname></simpara></listitem>
51
+
<listitem>
52
+
<simpara><classname>MongoDB\Driver\Exception\ServerException</classname></simpara>
53
+
<itemizedlist>
54
+
<listitem><simpara><classname>MongoDB\Driver\Exception\CommandException</classname></simpara></listitem>
55
+
<listitem><simpara><classname>MongoDB\Driver\Exception\ExecutionTimeoutException</classname></simpara></listitem>
56
+
<listitem>
57
+
<simpara><classname>MongoDB\Driver\Exception\WriteException</classname></simpara>
58
+
<itemizedlist>
59
+
<listitem><simpara><classname>MongoDB\Driver\Exception\BulkWriteException</classname></simpara></listitem>
60
+
</itemizedlist>
61
+
</listitem>
62
+
</itemizedlist>
63
+
</listitem>
64
+
</itemizedlist>
65
+
</listitem>
66
+
</itemizedlist>
67
+
</article>
68
+

69
+
</book>
0
70