Add backwards compatibility InvalidArgumentException
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 1 Dec 2015 22:40:17 +0000 (23:40 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 1 Dec 2015 22:40:17 +0000 (23:40 +0100)
wcfsetup/install/files/lib/system/exception/InvalidArgumentException.class.php [new file with mode: 0644]

diff --git a/wcfsetup/install/files/lib/system/exception/InvalidArgumentException.class.php b/wcfsetup/install/files/lib/system/exception/InvalidArgumentException.class.php
new file mode 100644 (file)
index 0000000..4a1845c
--- /dev/null
@@ -0,0 +1,16 @@
+<?php
+namespace wcf\system\exception;
+
+/**
+ * This is a custom implementation of the default \InvalidArgumentException.
+ * It is used for backwards compatibility reasons. Do not rely on it
+ * inheriting \wcf\system\exception\SystemException.
+ * 
+ * @author     Tim Duesterhus
+ * @copyright  2001-2015 WoltLab GmbH
+ * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @package    com.woltlab.wcf
+ * @subpackage system.exception
+ * @category   Community Framework
+ */
+class InvalidArgumentException extends SystemException { }