mirror of
https://github.com/php/doc-ru.git
synced 2025-07-22 18:26:31 +00:00
91 lines
4.5 KiB
XML
91 lines
4.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- EN-Revision: 187032b3ea20fa28f1c9f29ba38d06820428f849 Maintainer: rjhdby Status: ready -->
|
|
<!-- Reviewed: no -->
|
|
<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>Классы исключений</title>
|
|
|
|
&reference.mongodb.mongodb.driver.exception.authenticationexception;
|
|
&reference.mongodb.mongodb.driver.exception.bulkwriteexception;
|
|
&reference.mongodb.mongodb.driver.exception.bulkwritecommandexception;
|
|
&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>Дерево классов</titleabbrev>
|
|
<title>Дерево классов исключений модуля MongoDB</title>
|
|
|
|
<para>
|
|
Иерархию классов для исключений модуля MongoDB смоделировали по образцу
|
|
<link linkend="spl.exceptions">исключений стандартной PHP-библиотеки SPL</link>. Базовые классы расширяют
|
|
свои SPL-аналоги и каждый класс исключения в модуле реализует интерфейс
|
|
<classname>MongoDB\Driver\Exception\Exception</classname>.
|
|
</para>
|
|
|
|
<itemizedlist>
|
|
<listitem>
|
|
<simpara><classname>MongoDB\Driver\Exception\LogicException</classname> (расширяет <classname>LogicException</classname>)</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara><classname>MongoDB\Driver\Exception\InvalidArgumentException</classname> (расширяет <classname>InvalidArgumentException</classname>)</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara><classname>MongoDB\Driver\Exception\UnexpectedValueException</classname> (расширяет <classname>UnexpectedValueException</classname>)</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara><classname>MongoDB\Driver\Exception\RuntimeException</classname> (расширяет <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> (устарел)</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\BulkWriteCommandException</classname></simpara>
|
|
</listitem>
|
|
<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>
|
|
</part>
|