Version 1
[yaffs-website] / vendor / symfony / http-kernel / Debug / ExceptionHandler.php
diff --git a/vendor/symfony/http-kernel/Debug/ExceptionHandler.php b/vendor/symfony/http-kernel/Debug/ExceptionHandler.php
new file mode 100644 (file)
index 0000000..50755d9
--- /dev/null
@@ -0,0 +1,27 @@
+<?php
+
+/*
+ * This file is part of the Symfony package.
+ *
+ * (c) Fabien Potencier <fabien@symfony.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Symfony\Component\HttpKernel\Debug;
+
+@trigger_error('The '.__NAMESPACE__.'\ExceptionHandler class is deprecated since version 2.3 and will be removed in 3.0. Use the Symfony\Component\Debug\ExceptionHandler class instead.', E_USER_DEPRECATED);
+
+use Symfony\Component\Debug\ExceptionHandler as DebugExceptionHandler;
+
+/**
+ * ExceptionHandler converts an exception to a Response object.
+ *
+ * @author Fabien Potencier <fabien@symfony.com>
+ *
+ * @deprecated since version 2.3, to be removed in 3.0. Use the same class from the Debug component instead.
+ */
+class ExceptionHandler extends DebugExceptionHandler
+{
+}