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