mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347475 c90b9560-bf6c-de11-be94-00142212c4b1
91 lines
2.9 KiB
XML
91 lines
2.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
|
|
<phpdoc:exceptionref xml:id="class.jsonexception"
|
|
xmlns:phpdoc="http://php.net/ns/phpdoc"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
xmlns="http://docbook.org/ns/docbook">
|
|
<title>The JsonException class</title>
|
|
<titleabbrev>JsonException</titleabbrev>
|
|
|
|
<partintro>
|
|
|
|
<!-- {{{ JsonException intro -->
|
|
<section xml:id="jsonexception.intro">
|
|
&reftitle.intro;
|
|
<para>
|
|
Exception thrown if <constant>JSON_THROW_ON_ERROR</constant> option is
|
|
set for <function>json_encode</function> or
|
|
<function>json_decode</function>. <varname>code</varname> contains the error
|
|
type, for possible values see <function>json_last_error</function>.
|
|
</para>
|
|
</section>
|
|
<!-- }}} -->
|
|
|
|
<section xml:id="jsonexception.synopsis">
|
|
&reftitle.classsynopsis;
|
|
|
|
<!-- {{{ Synopsis -->
|
|
<classsynopsis>
|
|
<ooclass><classname>JsonException</classname></ooclass>
|
|
|
|
<!-- {{{ Exception synopsis -->
|
|
<classsynopsisinfo>
|
|
<ooclass>
|
|
<classname>JsonException</classname>
|
|
</ooclass>
|
|
|
|
<ooclass>
|
|
<modifier>extends</modifier>
|
|
<classname>Exception</classname>
|
|
</ooclass>
|
|
</classsynopsisinfo>
|
|
<!-- }}} -->
|
|
|
|
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
|
|
<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>
|
|
|
|
<!-- Comment this section out if the exception does not contain any methods -->
|
|
<!--
|
|
<classsynopsisinfo role="comment">Methods</classsynopsisinfo>
|
|
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.jsonexception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
|
-->
|
|
<!-- If the exception extends another exception use this -->
|
|
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
|
|
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
|
</classsynopsis>
|
|
<!-- }}} -->
|
|
|
|
</section>
|
|
|
|
</partintro>
|
|
|
|
<!-- If the exception has any methods you'd like to document use this
|
|
&reference.extname.entities.classname;
|
|
-->
|
|
|
|
</phpdoc:exceptionref>
|
|
|
|
<!-- 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
|
|
-->
|