2007-12-31 14:34:04 +00:00
<?xml version="1.0" encoding="utf-8"?>
2009-07-11 08:31:40 +00:00
<!-- $Revision$ -->
2021-11-17 07:44:47 +00:00
<phpdoc:exceptionref xml:id= "class.pdoexception" xmlns:phpdoc= "http://php.net/ns/phpdoc" xmlns= "http://docbook.org/ns/docbook" xmlns:xlink= "http://www.w3.org/1999/xlink" xmlns:xi= "http://www.w3.org/2001/XInclude" >
2007-12-31 14:34:04 +00:00
<title > The PDOException class</title>
<titleabbrev > PDOException</titleabbrev>
<partintro >
<!-- {{{ PDOException intro -->
<section xml:id= "pdoexception.intro" >
&reftitle.intro;
<para >
Represents an error raised by PDO. You should not throw a
<classname > PDOException</classname> from your own code.
2011-09-30 14:21:51 +00:00
See <link linkend= "language.exceptions" > Exceptions</link> for more
2007-12-31 14:34:04 +00:00
information about Exceptions in PHP.
</para>
</section>
<!-- }}} -->
<section xml:id= "pdoexception.synopsis" >
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis >
2021-11-17 07:44:47 +00:00
<ooclass >
<classname > PDOException</classname>
</ooclass>
2007-12-31 14:34:04 +00:00
<classsynopsisinfo >
<ooclass >
<classname > PDOException</classname>
</ooclass>
2021-11-17 07:44:47 +00:00
2007-12-31 14:34:04 +00:00
<ooclass >
<modifier > extends</modifier>
<classname > RuntimeException</classname>
</ooclass>
</classsynopsisinfo>
2021-11-17 07:44:47 +00:00
2009-12-29 09:42:00 +00:00
<classsynopsisinfo role= "comment" > &Properties; </classsynopsisinfo>
2022-01-03 13:18:00 +00:00
<fieldsynopsis >
<modifier > protected</modifier>
<type class= "union" > <type > int</type> <type > string</type> </type>
<varname linkend= "pdoexception.props.code" > code</varname>
</fieldsynopsis>
2021-11-17 07:44:47 +00:00
<fieldsynopsis >
2007-12-31 14:34:04 +00:00
<modifier > public</modifier>
2021-11-17 07:44:47 +00:00
<type class= "union" > <type > array</type> <type > null</type> </type>
2007-12-31 14:34:04 +00:00
<varname linkend= "pdoexception.props.errorinfo" > errorInfo</varname>
2021-11-17 07:44:47 +00:00
<initializer > null</initializer>
</fieldsynopsis>
2013-05-20 20:36:05 +00:00
<classsynopsisinfo role= "comment" > &InheritedProperties; </classsynopsisinfo>
2021-11-17 07:44:47 +00:00
<xi:include xpointer= "xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment' and text()='&Properties;']]))" >
<xi:fallback />
</xi:include>
2013-05-20 20:36:05 +00:00
2009-12-29 09:42:00 +00:00
<classsynopsisinfo role= "comment" > &InheritedMethods; </classsynopsisinfo>
2021-11-17 07:44:47 +00:00
<xi:include xpointer= "xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" >
<xi:fallback />
</xi:include>
2007-12-31 14:34:04 +00:00
</classsynopsis>
<!-- }}} -->
</section>
<!-- {{{ PDOException properties -->
<section xml:id= "pdoexception.props" >
&reftitle.properties;
<variablelist >
<varlistentry xml:id= "pdoexception.props.errorinfo" > <!-- {{{ -->
<term > <varname > errorInfo</varname> </term>
<listitem >
<para >
Corresponds to <function > PDO::errorInfo</function> or
<function > PDOStatement::errorInfo</function>
</para>
</listitem>
</varlistentry> <!-- }}} -->
<varlistentry xml:id= "pdoexception.props.code" > <!-- {{{ -->
<term > <varname > code</varname> </term>
<listitem >
<para >
<literal > SQLSTATE</literal> error code. Use
<function > Exception::getCode</function> to access it.
</para>
</listitem>
</varlistentry> <!-- }}} -->
</variablelist>
</section>
<!-- }}} -->
</partintro>
2008-08-23 14:05:42 +00:00
</phpdoc:exceptionref>
2007-12-31 14:34:04 +00:00
<!-- 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
2009-09-25 07:04:39 +00:00
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
2007-12-31 14:34:04 +00:00
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
-->