[DOC-CVS] [doc-en] master: Add Imagick Exception class (#4860)

[email protected] (Luffy via GitHub)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Luffy (sy-records)
Committer: GitHub (web-flow)
Pusher: sy-records
Date: 2025-10-11T12:45:06+08:00

Commit: https://github.com/php/doc-en/commit/4947a993e6d5050f4271f3c5eb7b1cd4b7c1c2e4
Raw diff: https://github.com/php/doc-en/commit/4947a993e6d5050f4271f3c5eb7b1cd4b7c1c2e4.diff

Add Imagick Exception class (#4860)

Changed paths:
  A  reference/imagick/imagickdrawexception.xml
  A  reference/imagick/imagickexception.xml
  A  reference/imagick/imagickpixelexception.xml
  A  reference/imagick/imagickpixeliteratorexception.xml
  M  reference/imagick/book.xml
  M  reference/imagick/imagickkernelexception.xml
  M  reference/imagick/versions.xml


Diff:

diff --git a/reference/imagick/book.xml b/reference/imagick/book.xml
index 1158a27e79b7..8d60f9c36823 100644
--- a/reference/imagick/book.xml
+++ b/reference/imagick/book.xml
@@ -38,9 +38,14 @@
 
  &reference.imagick.imagick;
  &reference.imagick.imagickdraw;
+ &reference.imagick.imagickdrawexception;
+ &reference.imagick.imagickexception;
+ &reference.imagick.imagickkernel;
+ &reference.imagick.imagickkernelexception;
  &reference.imagick.imagickpixel;
+ &reference.imagick.imagickpixelexception;
  &reference.imagick.imagickpixeliterator;
- &reference.imagick.imagickkernel;
+ &reference.imagick.imagickpixeliteratorexception;
 
 </book>
 
diff --git a/reference/imagick/imagickdrawexception.xml b/reference/imagick/imagickdrawexception.xml
new file mode 100644
index 000000000000..f3924bf725fb
--- /dev/null
+++ b/reference/imagick/imagickdrawexception.xml
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="utf-8"?>
+<reference role="exception" xml:id="class.imagickdrawexception" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
+ <title>The ImagickDrawException class</title>
+ <titleabbrev>ImagickDrawException</titleabbrev>
+
+ <partintro>
+
+<!-- {{{ ImagickDrawException intro -->
+  <section xml:id="imagickdrawexception.intro">
+   &reftitle.intro;
+   <simpara>
+
+   </simpara>
+  </section>
+<!-- }}} -->
+
+  <section xml:id="imagickdrawexception.synopsis">
+   &reftitle.classsynopsis;
+
+<!-- {{{ Synopsis -->
+   <classsynopsis>
+    <ooclass>
+     <classname>ImagickDrawException</classname>
+    </ooclass>
+
+    <classsynopsisinfo>
+     <ooclass>
+      <classname>ImagickDrawException</classname>
+     </ooclass>
+
+     <ooclass>
+      <modifier>extends</modifier>
+      <classname>Exception</classname>
+     </ooclass>
+
+     <oointerface>
+      <interfacename>Throwable</interfacename>
+     </oointerface>
+    </classsynopsisinfo>
+    <classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
+    <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('exception.synopsis')/descendant::db:fieldsynopsis)">
+     <xi:fallback/>
+    </xi:include>
+
+
+    <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
+    <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.imagickdrawexception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='ImagickDrawException'])">
+     <xi:fallback/>
+    </xi:include>
+
+    <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[@role='ImagickDrawException'])">
+     <xi:fallback/>
+    </xi:include>
+
+   </classsynopsis>
+<!-- }}} -->
+
+  </section>
+
+ </partintro>
+
+</reference>
+<!-- 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
+-->
diff --git a/reference/imagick/imagickexception.xml b/reference/imagick/imagickexception.xml
new file mode 100644
index 000000000000..3b67119ef90d
--- /dev/null
+++ b/reference/imagick/imagickexception.xml
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="utf-8"?>
+<reference role="exception" xml:id="class.imagickexception" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
+ <title>The ImagickException class</title>
+ <titleabbrev>ImagickException</titleabbrev>
+
+ <partintro>
+
+<!-- {{{ ImagickException intro -->
+  <section xml:id="imagickexception.intro">
+   &reftitle.intro;
+   <simpara>
+
+   </simpara>
+  </section>
+<!-- }}} -->
+
+  <section xml:id="imagickexception.synopsis">
+   &reftitle.classsynopsis;
+
+<!-- {{{ Synopsis -->
+   <classsynopsis>
+    <ooclass>
+     <classname>ImagickException</classname>
+    </ooclass>
+
+    <classsynopsisinfo>
+     <ooclass>
+      <classname>ImagickException</classname>
+     </ooclass>
+
+     <ooclass>
+      <modifier>extends</modifier>
+      <classname>Exception</classname>
+     </ooclass>
+
+     <oointerface>
+      <interfacename>Throwable</interfacename>
+     </oointerface>
+    </classsynopsisinfo>
+    <classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
+    <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('exception.synopsis')/descendant::db:fieldsynopsis)">
+     <xi:fallback/>
+    </xi:include>
+
+
+    <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
+    <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.imagickexception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='ImagickException'])">
+     <xi:fallback/>
+    </xi:include>
+
+    <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[@role='ImagickException'])">
+     <xi:fallback/>
+    </xi:include>
+
+   </classsynopsis>
+<!-- }}} -->
+
+  </section>
+
+ </partintro>
+
+</reference>
+<!-- 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
+-->
diff --git a/reference/imagick/imagickkernelexception.xml b/reference/imagick/imagickkernelexception.xml
index 9294b0de3f31..3e47ee979a8f 100644
--- a/reference/imagick/imagickkernelexception.xml
+++ b/reference/imagick/imagickkernelexception.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
 
-<reference xml:id="class.imagickkernelexception" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
+<reference xml:id="class.imagickkernelexception" role="exception" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
 
  <title>The ImagickKernelException class</title>
  <titleabbrev>ImagickKernelException</titleabbrev>
@@ -29,7 +29,7 @@
      <ooclass>
       <classname>ImagickKernelException</classname>
      </ooclass>
-     
+
      <ooclass>
       <modifier>extends</modifier>
       <classname>Exception</classname>
@@ -37,14 +37,20 @@
     </classsynopsisinfo>
 <!-- }}} -->
     <classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
-    <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('exception.synopsis')/descendant::db:fieldsynopsis)" />
+    <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('exception.synopsis')/descendant::db:fieldsynopsis)">
+     <xi:fallback/>
+    </xi:include>
+
 
-    
     <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
-    <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.imagickkernelexception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />
-    
+    <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.imagickkernelexception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='ImagickKernelException'])">
+     <xi:fallback/>
+    </xi:include>
+
     <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[not(@role='procedural')])" />
+    <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='ImagickKernelException'])">
+     <xi:fallback/>
+    </xi:include>
 
    </classsynopsis>
 <!-- }}} -->
@@ -53,8 +59,6 @@
 
  </partintro>
 
- &reference.imagick.entities.imagickkernelexception;
-
 </reference>
 
 <!-- Keep this comment at the end of the file
diff --git a/reference/imagick/imagickpixelexception.xml b/reference/imagick/imagickpixelexception.xml
new file mode 100644
index 000000000000..64cd28b3e197
--- /dev/null
+++ b/reference/imagick/imagickpixelexception.xml
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="utf-8"?>
+<reference role="exception" xml:id="class.imagickpixelexception" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
+ <title>The ImagickPixelException class</title>
+ <titleabbrev>ImagickPixelException</titleabbrev>
+
+ <partintro>
+
+<!-- {{{ ImagickPixelException intro -->
+  <section xml:id="imagickpixelexception.intro">
+   &reftitle.intro;
+   <simpara>
+
+   </simpara>
+  </section>
+<!-- }}} -->
+
+  <section xml:id="imagickpixelexception.synopsis">
+   &reftitle.classsynopsis;
+
+<!-- {{{ Synopsis -->
+   <classsynopsis>
+    <ooclass>
+     <classname>ImagickPixelException</classname>
+    </ooclass>
+
+    <classsynopsisinfo>
+     <ooclass>
+      <classname>ImagickPixelException</classname>
+     </ooclass>
+
+     <ooclass>
+      <modifier>extends</modifier>
+      <classname>Exception</classname>
+     </ooclass>
+
+     <oointerface>
+      <interfacename>Throwable</interfacename>
+     </oointerface>
+    </classsynopsisinfo>
+    <classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
+    <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('exception.synopsis')/descendant::db:fieldsynopsis)">
+     <xi:fallback/>
+    </xi:include>
+
+
+    <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
+    <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.imagickpixelexception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='ImagickPixelException'])">
+     <xi:fallback/>
+    </xi:include>
+
+    <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[@role='ImagickPixelException'])">
+     <xi:fallback/>
+    </xi:include>
+
+   </classsynopsis>
+<!-- }}} -->
+
+  </section>
+
+ </partintro>
+
+</reference>
+<!-- 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
+-->
diff --git a/reference/imagick/imagickpixeliteratorexception.xml b/reference/imagick/imagickpixeliteratorexception.xml
new file mode 100644
index 000000000000..0ecef58e09db
--- /dev/null
+++ b/reference/imagick/imagickpixeliteratorexception.xml
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="utf-8"?>
+<reference role="exception" xml:id="class.imagickpixeliteratorexception" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
+ <title>The ImagickPixelIteratorException class</title>
+ <titleabbrev>ImagickPixelIteratorException</titleabbrev>
+
+ <partintro>
+
+<!-- {{{ ImagickPixelIteratorException intro -->
+  <section xml:id="imagickpixeliteratorexception.intro">
+   &reftitle.intro;
+   <simpara>
+
+   </simpara>
+  </section>
+<!-- }}} -->
+
+  <section xml:id="imagickpixeliteratorexception.synopsis">
+   &reftitle.classsynopsis;
+
+<!-- {{{ Synopsis -->
+   <classsynopsis>
+    <ooclass>
+     <classname>ImagickPixelIteratorException</classname>
+    </ooclass>
+
+    <classsynopsisinfo>
+     <ooclass>
+      <classname>ImagickPixelIteratorException</classname>
+     </ooclass>
+
+     <ooclass>
+      <modifier>extends</modifier>
+      <classname>Exception</classname>
+     </ooclass>
+
+     <oointerface>
+      <interfacename>Throwable</interfacename>
+     </oointerface>
+    </classsynopsisinfo>
+    <classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
+    <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('exception.synopsis')/descendant::db:fieldsynopsis)">
+     <xi:fallback/>
+    </xi:include>
+
+
+    <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
+    <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.imagickpixeliteratorexception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='ImagickPixelIteratorException'])">
+     <xi:fallback/>
+    </xi:include>
+
+    <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[@role='ImagickPixelIteratorException'])">
+     <xi:fallback/>
+    </xi:include>
+
+   </classsynopsis>
+<!-- }}} -->
+
+  </section>
+
+ </partintro>
+
+</reference>
+<!-- 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
+-->
diff --git a/reference/imagick/versions.xml b/reference/imagick/versions.xml
index a4a6fac5efde..9da96cca215b 100644
--- a/reference/imagick/versions.xml
+++ b/reference/imagick/versions.xml
@@ -4,6 +4,11 @@
   Do NOT translate this file
 -->
 <versions>
+ <function name='imagickexception' from='PECL imagick 3'/>
+ <function name='imagickdrawexception' from='PECL imagick 3'/>
+ <function name='imagickpixeliteratorexception' from='PECL imagick 3'/>
+ <function name='imagickpixelexception' from='PECL imagick 3'/>
+ <function name='imagickkernelexception' from='PECL imagick 3'/>
 
  <function name='Imagick' from='PECL imagick 2, PECL imagick 3'/>
  <function name='Imagick::adaptiveblurimage' from='PECL imagick 2, PECL imagick 3'/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.