[HttpKernel] changed the abstract BaseHttpException to HttpException to allow the creation of any HTTP exception

This commit is contained in:
Fabien Potencier 2011-03-23 11:12:31 +01:00
parent a2294106fb
commit abb99e9469
3 changed files with 4 additions and 4 deletions

View File

@ -12,11 +12,11 @@
namespace Symfony\Component\HttpKernel\Exception;
/**
* BaseHttpException.
* HttpException.
*
* @author Kris Wallsmith <kris@symfony.com>
*/
abstract class BaseHttpException extends \RuntimeException implements HttpExceptionInterface
class HttpException extends \RuntimeException implements HttpExceptionInterface
{
protected $statusCode;
protected $statusMessage;

View File

@ -16,7 +16,7 @@ namespace Symfony\Component\HttpKernel\Exception;
*
* @author Kris Wallsmith <kris@symfony.com>
*/
class MethodNotAllowedHttpException extends BaseHttpException
class MethodNotAllowedHttpException extends HttpException
{
/**
* Constructor.

View File

@ -16,7 +16,7 @@ namespace Symfony\Component\HttpKernel\Exception;
*
* @author Fabien Potencier <fabien@symfony.com>
*/
class NotFoundHttpException extends BaseHttpException
class NotFoundHttpException extends HttpException
{
/**
* Constructor.