Browse Source

[HttpKernel] removed UnauthorizedHttpException as this should be handled by the Security component

Fabien Potencier 14 năm trước cách đây
mục cha
commit
23fbd87164

+ 0 - 25
src/Symfony/Component/HttpKernel/Exception/UnauthorizedHttpException.php

@@ -1,25 +0,0 @@
-<?php
-
-namespace Symfony\Component\HttpKernel\Exception;
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-/**
- * UnauthorizedHttpException.
- *
- * @author Fabien Potencier <fabien.potencier@symfony-project.com>
- */
-class UnauthorizedHttpException extends HttpException
-{
-    public function __construct($message = 'Unauthorized', \Exception $previous = null)
-    {
-        parent::__construct($message, 401, $previous);
-    }
-}