소스 검색

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