File: exceptions.xml

package info (click to toggle)
php-doc 20241205~git.dfcbb86%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 70,956 kB
  • sloc: xml: 968,269; php: 23,883; javascript: 671; sh: 177; makefile: 37
file content (69 lines) | stat: -rw-r--r-- 3,891 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->

 <part 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.commandexception;
  &reference.mongodb.mongodb.driver.exception.connectionexception;
  &reference.mongodb.mongodb.driver.exception.connectiontimeoutexception;
  &reference.mongodb.mongodb.driver.exception.encryptionexception;
  &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.serverexception;
  &reference.mongodb.mongodb.driver.exception.sslconnectionexception;
  &reference.mongodb.mongodb.driver.exception.unexpectedvalueexception;
  &reference.mongodb.mongodb.driver.exception.writeexception;

  <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\EncryptionException</classname></simpara></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> (deprecated)</simpara>
         <itemizedlist>
          <listitem><simpara><classname>MongoDB\Driver\Exception\BulkWriteException</classname></simpara></listitem>
         </itemizedlist>
        </listitem>
       </itemizedlist>
      </listitem>
     </itemizedlist>
    </listitem>
   </itemizedlist>
  </article>

 </part>