lib: Move HttpNotFoundException beneath the Http Exception namespace

refs #6281
This commit is contained in:
Eric Lippmann 2015-05-22 09:25:49 +02:00
parent e137263c4b
commit d2bb74a2f9
4 changed files with 5 additions and 7 deletions

View File

@ -4,7 +4,7 @@
use Icinga\Application\Icinga;
use Icinga\Application\Logger;
use Icinga\Exception\Http\HttpMethodNotAllowedException;
use Icinga\Exception\HttpNotFoundException;
use Icinga\Exception\Http\HttpNotFoundException;
use Icinga\Exception\MissingParameterException;
use Icinga\Security\SecurityException;
use Icinga\Web\Controller\ActionController;

View File

@ -2,12 +2,10 @@
namespace Icinga\Exception\Http;
use Icinga\Exception\IcingaException;
/**
* Exception thrown if the HTTP method is not allowed
*/
class HttpMethodNotAllowedException extends IcingaException
class HttpMethodNotAllowedException extends HttpException
{
/**
* Allowed HTTP methods

View File

@ -1,11 +1,11 @@
<?php
namespace Icinga\Exception;
namespace Icinga\Exception\Http;
/**
* Exception thrown for sending a HTTP 404 response w/ a custom message
*/
class HttpNotFoundException extends IcingaException
class HttpNotFoundException extends HttpException
{
}

View File

@ -3,9 +3,9 @@
namespace Icinga\Web;
use Icinga\Exception\HttpNotFoundException;
use Icinga\Data\Sortable;
use Icinga\Data\QueryInterface;
use Icinga\Exception\Http\HttpNotFoundException;
use Icinga\Web\Controller\ModuleActionController;
use Icinga\Web\Widget\Limiter;
use Icinga\Web\Widget\Paginator;