[HttpKernel] changed the abstract BaseHttpException to HttpException to allow the creation of any HTTP exception
This commit is contained in:
parent
a2294106fb
commit
abb99e9469
@ -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;
|
@ -16,7 +16,7 @@ namespace Symfony\Component\HttpKernel\Exception;
|
||||
*
|
||||
* @author Kris Wallsmith <kris@symfony.com>
|
||||
*/
|
||||
class MethodNotAllowedHttpException extends BaseHttpException
|
||||
class MethodNotAllowedHttpException extends HttpException
|
||||
{
|
||||
/**
|
||||
* Constructor.
|
||||
|
@ -16,7 +16,7 @@ namespace Symfony\Component\HttpKernel\Exception;
|
||||
*
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*/
|
||||
class NotFoundHttpException extends BaseHttpException
|
||||
class NotFoundHttpException extends HttpException
|
||||
{
|
||||
/**
|
||||
* Constructor.
|
||||
|
Reference in New Issue
Block a user