lib: Move HttpNotFoundException beneath the Http Exception namespace
refs #6281
This commit is contained in:
parent
e137263c4b
commit
d2bb74a2f9
|
@ -4,7 +4,7 @@
|
||||||
use Icinga\Application\Icinga;
|
use Icinga\Application\Icinga;
|
||||||
use Icinga\Application\Logger;
|
use Icinga\Application\Logger;
|
||||||
use Icinga\Exception\Http\HttpMethodNotAllowedException;
|
use Icinga\Exception\Http\HttpMethodNotAllowedException;
|
||||||
use Icinga\Exception\HttpNotFoundException;
|
use Icinga\Exception\Http\HttpNotFoundException;
|
||||||
use Icinga\Exception\MissingParameterException;
|
use Icinga\Exception\MissingParameterException;
|
||||||
use Icinga\Security\SecurityException;
|
use Icinga\Security\SecurityException;
|
||||||
use Icinga\Web\Controller\ActionController;
|
use Icinga\Web\Controller\ActionController;
|
||||||
|
|
|
@ -2,12 +2,10 @@
|
||||||
|
|
||||||
namespace Icinga\Exception\Http;
|
namespace Icinga\Exception\Http;
|
||||||
|
|
||||||
use Icinga\Exception\IcingaException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exception thrown if the HTTP method is not allowed
|
* Exception thrown if the HTTP method is not allowed
|
||||||
*/
|
*/
|
||||||
class HttpMethodNotAllowedException extends IcingaException
|
class HttpMethodNotAllowedException extends HttpException
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Allowed HTTP methods
|
* Allowed HTTP methods
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Icinga\Exception;
|
namespace Icinga\Exception\Http;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exception thrown for sending a HTTP 404 response w/ a custom message
|
* Exception thrown for sending a HTTP 404 response w/ a custom message
|
||||||
*/
|
*/
|
||||||
class HttpNotFoundException extends IcingaException
|
class HttpNotFoundException extends HttpException
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
|
@ -3,9 +3,9 @@
|
||||||
|
|
||||||
namespace Icinga\Web;
|
namespace Icinga\Web;
|
||||||
|
|
||||||
use Icinga\Exception\HttpNotFoundException;
|
|
||||||
use Icinga\Data\Sortable;
|
use Icinga\Data\Sortable;
|
||||||
use Icinga\Data\QueryInterface;
|
use Icinga\Data\QueryInterface;
|
||||||
|
use Icinga\Exception\Http\HttpNotFoundException;
|
||||||
use Icinga\Web\Controller\ModuleActionController;
|
use Icinga\Web\Controller\ModuleActionController;
|
||||||
use Icinga\Web\Widget\Limiter;
|
use Icinga\Web\Widget\Limiter;
|
||||||
use Icinga\Web\Widget\Paginator;
|
use Icinga\Web\Widget\Paginator;
|
||||||
|
|
Loading…
Reference in New Issue