From 6402591173b9f4b1e41f6052cb2677f49dfa4398 Mon Sep 17 00:00:00 2001
From: Luffy <52o@qq52o.cn>
Date: Fri, 5 Sep 2025 10:58:19 +0800
Subject: [PATCH 1/2] Add exception classes for ImagickDraw,
ImagickPixelIterator, and ImagickPixel
---
reference/imagick/book.xml | 7 +-
reference/imagick/imagickdrawexception.xml | 83 +++++++++++++++++++
reference/imagick/imagickexception.xml | 83 +++++++++++++++++++
reference/imagick/imagickkernelexception.xml | 20 +++--
reference/imagick/imagickpixelexception.xml | 83 +++++++++++++++++++
.../imagick/imagickpixeliteratorexception.xml | 83 +++++++++++++++++++
reference/imagick/versions.xml | 5 ++
7 files changed, 355 insertions(+), 9 deletions(-)
create mode 100644 reference/imagick/imagickdrawexception.xml
create mode 100644 reference/imagick/imagickexception.xml
create mode 100644 reference/imagick/imagickpixelexception.xml
create mode 100644 reference/imagick/imagickpixeliteratorexception.xml
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;
diff --git a/reference/imagick/imagickdrawexception.xml b/reference/imagick/imagickdrawexception.xml
new file mode 100644
index 000000000000..96eaf5071111
--- /dev/null
+++ b/reference/imagick/imagickdrawexception.xml
@@ -0,0 +1,83 @@
+
+
+ The ImagickDrawException class
+ ImagickDrawException
+
+
+
+
+
+ &reftitle.intro;
+
+
+
+
+
+
+
+ &reftitle.classsynopsis;
+
+
+
+
+ ImagickDrawException
+
+
+
+
+ ImagickDrawException
+
+
+
+ extends
+ Exception
+
+
+
+ Throwable
+
+
+ &InheritedProperties;
+
+
+
+
+
+ &Methods;
+
+
+
+
+ &InheritedMethods;
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/reference/imagick/imagickexception.xml b/reference/imagick/imagickexception.xml
new file mode 100644
index 000000000000..c092d4093e8b
--- /dev/null
+++ b/reference/imagick/imagickexception.xml
@@ -0,0 +1,83 @@
+
+
+ The ImagickException class
+ ImagickException
+
+
+
+
+
+ &reftitle.intro;
+
+
+
+
+
+
+
+ &reftitle.classsynopsis;
+
+
+
+
+ ImagickException
+
+
+
+
+ ImagickException
+
+
+
+ extends
+ Exception
+
+
+
+ Throwable
+
+
+ &InheritedProperties;
+
+
+
+
+
+ &Methods;
+
+
+
+
+ &InheritedMethods;
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/reference/imagick/imagickkernelexception.xml b/reference/imagick/imagickkernelexception.xml
index 9294b0de3f31..499ff9bc7303 100644
--- a/reference/imagick/imagickkernelexception.xml
+++ b/reference/imagick/imagickkernelexception.xml
@@ -1,7 +1,7 @@
-
+
The ImagickKernelException class
ImagickKernelException
@@ -37,14 +37,20 @@
&InheritedProperties;
-
+
+
+
+
-
&Methods;
-
-
+
+
+
+
&InheritedMethods;
-
+
+
+
@@ -53,8 +59,6 @@
- &reference.imagick.entities.imagickkernelexception;
-
+
+ &reftitle.intro;
+
+
+
+
+
+
+
+ &reftitle.classsynopsis;
+
+
+
+
+ ImagickPixelException
+
+
+
+
+ ImagickPixelException
+
+
+
+ extends
+ Exception
+
+
+
+ Throwable
+
+
+ &InheritedProperties;
+
+
+
+
+
+ &Methods;
+
+
+
+
+ &InheritedMethods;
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/reference/imagick/imagickpixeliteratorexception.xml b/reference/imagick/imagickpixeliteratorexception.xml
new file mode 100644
index 000000000000..21d30324cce1
--- /dev/null
+++ b/reference/imagick/imagickpixeliteratorexception.xml
@@ -0,0 +1,83 @@
+
+
+ The ImagickPixelIteratorException class
+ ImagickPixelIteratorException
+
+
+
+
+
+ &reftitle.intro;
+
+
+
+
+
+
+
+ &reftitle.classsynopsis;
+
+
+
+
+ ImagickPixelIteratorException
+
+
+
+
+ ImagickPixelIteratorException
+
+
+
+ extends
+ Exception
+
+
+
+ Throwable
+
+
+ &InheritedProperties;
+
+
+
+
+
+ &Methods;
+
+
+
+
+ &InheritedMethods;
+
+
+
+
+
+
+
+
+
+
+
+
+
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
-->
+
+
+
+
+
From db2831d8c1ba9db14b395504bd7e0c3bcdc3a1a8 Mon Sep 17 00:00:00 2001
From: Luffy <52o@qq52o.cn>
Date: Fri, 5 Sep 2025 11:12:03 +0800
Subject: [PATCH 2/2] Fix whitespace
---
reference/imagick/imagickdrawexception.xml | 8 ++++----
reference/imagick/imagickexception.xml | 6 +++---
reference/imagick/imagickkernelexception.xml | 2 +-
reference/imagick/imagickpixelexception.xml | 8 ++++----
reference/imagick/imagickpixeliteratorexception.xml | 8 ++++----
5 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/reference/imagick/imagickdrawexception.xml b/reference/imagick/imagickdrawexception.xml
index 96eaf5071111..f3924bf725fb 100644
--- a/reference/imagick/imagickdrawexception.xml
+++ b/reference/imagick/imagickdrawexception.xml
@@ -27,12 +27,12 @@
ImagickDrawException
-
+
extends
Exception
-
+
Throwable
@@ -42,12 +42,12 @@
-
+
&Methods;
-
+
&InheritedMethods;
diff --git a/reference/imagick/imagickexception.xml b/reference/imagick/imagickexception.xml
index c092d4093e8b..3b67119ef90d 100644
--- a/reference/imagick/imagickexception.xml
+++ b/reference/imagick/imagickexception.xml
@@ -27,12 +27,12 @@
ImagickException
-
+
extends
Exception
-
+
Throwable
@@ -42,7 +42,7 @@
-
+
&Methods;
diff --git a/reference/imagick/imagickkernelexception.xml b/reference/imagick/imagickkernelexception.xml
index 499ff9bc7303..3e47ee979a8f 100644
--- a/reference/imagick/imagickkernelexception.xml
+++ b/reference/imagick/imagickkernelexception.xml
@@ -29,7 +29,7 @@
ImagickKernelException
-
+
extends
Exception
diff --git a/reference/imagick/imagickpixelexception.xml b/reference/imagick/imagickpixelexception.xml
index d9e9423a236e..64cd28b3e197 100644
--- a/reference/imagick/imagickpixelexception.xml
+++ b/reference/imagick/imagickpixelexception.xml
@@ -27,12 +27,12 @@
ImagickPixelException
-
+
extends
Exception
-
+
Throwable
@@ -42,12 +42,12 @@
-
+
&Methods;
-
+
&InheritedMethods;
diff --git a/reference/imagick/imagickpixeliteratorexception.xml b/reference/imagick/imagickpixeliteratorexception.xml
index 21d30324cce1..0ecef58e09db 100644
--- a/reference/imagick/imagickpixeliteratorexception.xml
+++ b/reference/imagick/imagickpixeliteratorexception.xml
@@ -27,12 +27,12 @@
ImagickPixelIteratorException
-
+
extends
Exception
-
+
Throwable
@@ -42,12 +42,12 @@
-
+
&Methods;
-
+
&InheritedMethods;