mirror of
https://github.com/php/doc-ru.git
synced 2026-03-24 15:52:13 +01:00
87 lines
3.0 KiB
XML
87 lines
3.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- EN-Revision: e93feee2870bb551cd11d625271b7f82da3ccb05 Maintainer: mch Status: ready -->
|
|
<!-- Reviewed: no -->
|
|
<part xml:id="spl.exceptions" xmlns="http://docbook.org/ns/docbook">
|
|
<title>Исключения</title>
|
|
|
|
<partintro>
|
|
<simpara>
|
|
Библиотека SPL предоставляет набор стандартных исключений.
|
|
</simpara>
|
|
|
|
<section xml:id="spl.exceptions.tree">
|
|
<title>Иерархия классов исключений библиотеки SPL</title>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<simpara><classname>LogicException</classname> (extends <classname>Exception</classname>)</simpara>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<simpara><classname>BadFunctionCallException</classname></simpara>
|
|
<itemizedlist>
|
|
<listitem><simpara><classname>BadMethodCallException</classname></simpara></listitem>
|
|
</itemizedlist>
|
|
</listitem>
|
|
<listitem><simpara><classname>DomainException</classname></simpara></listitem>
|
|
<listitem><simpara><classname>InvalidArgumentException</classname></simpara></listitem>
|
|
<listitem><simpara><classname>LengthException</classname></simpara></listitem>
|
|
<listitem><simpara><classname>OutOfRangeException</classname></simpara></listitem>
|
|
</itemizedlist>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara><classname>RuntimeException</classname> (extends <classname>Exception</classname>)</simpara>
|
|
<itemizedlist>
|
|
<listitem><simpara><classname>OutOfBoundsException</classname></simpara></listitem>
|
|
<listitem><simpara><classname>OverflowException</classname></simpara></listitem>
|
|
<listitem><simpara><classname>RangeException</classname></simpara></listitem>
|
|
<listitem><simpara><classname>UnderflowException</classname></simpara></listitem>
|
|
<listitem><simpara><classname>UnexpectedValueException</classname></simpara></listitem>
|
|
</itemizedlist>
|
|
</listitem>
|
|
</itemizedlist>
|
|
</section>
|
|
|
|
<section role="seealso">
|
|
&reftitle.seealso;
|
|
<simplelist>
|
|
<member><xref linkend="reserved.exceptions"/></member>
|
|
</simplelist>
|
|
</section>
|
|
|
|
</partintro>
|
|
|
|
&reference.spl.badfunctioncallexception;
|
|
&reference.spl.badmethodcallexception;
|
|
&reference.spl.domainexception;
|
|
&reference.spl.invalidargumentexception;
|
|
&reference.spl.lengthexception;
|
|
&reference.spl.logicexception;
|
|
&reference.spl.outofboundsexception;
|
|
&reference.spl.outofrangeexception;
|
|
&reference.spl.overflowexception;
|
|
&reference.spl.rangeexception;
|
|
&reference.spl.runtimeexception;
|
|
&reference.spl.underflowexception;
|
|
&reference.spl.unexpectedvalueexception;
|
|
|
|
</part>
|
|
<!-- 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
|
|
-->
|