瀏覽代碼

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

Fabien Potencier 14 年之前
父節點
當前提交
23fbd87164
共有 1 個文件被更改,包括 0 次插入25 次删除
  1. 0 25
      src/Symfony/Component/HttpKernel/Exception/UnauthorizedHttpException.php

+ 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);
-    }
-}