1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-24 07:42:10 +01:00
Files
archived-doc-en/reference/spl/exceptions.xml
Gina Peter Banyard e93feee287 Integrate SPL language-snippets and rearrange SPL docs (#4286)
* Integrate SPL language-snippets

They are only used once, having them as entities is useless.

* Move SPL interfaces from misc to interface page

* Rearrange SPL docs

Move ArrayObject to data structures, get rid of misc page, do not chunk introduction

* Remove interface list, the ToC shows the same info
2024-12-10 23:42:47 +00:00

86 lines
2.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<part xml:id="spl.exceptions" xmlns="http://docbook.org/ns/docbook">
<title>Exceptions</title>
<partintro>
<simpara>
SPL provides a set of standard Exceptions.
</simpara>
<section xml:id="spl.exceptions.tree">
<title>SPL Exceptions Class Tree</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
-->