mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-06 13:34:25 +02:00
parent
c4ed49cb1a
commit
dd1025119d
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
namespace Icinga\Web;
|
namespace Icinga\Web;
|
||||||
|
|
||||||
use Zend_Controller_Action_Exception;
|
use Icinga\Exception\HttpNotFoundException;
|
||||||
use Icinga\Data\Sortable;
|
use Icinga\Data\Sortable;
|
||||||
use Icinga\Data\QueryInterface;
|
use Icinga\Data\QueryInterface;
|
||||||
use Icinga\Web\Controller\ModuleActionController;
|
use Icinga\Web\Controller\ModuleActionController;
|
||||||
@ -55,11 +55,11 @@ class Controller extends ModuleActionController
|
|||||||
*
|
*
|
||||||
* @param $message
|
* @param $message
|
||||||
*
|
*
|
||||||
* @throws Zend_Controller_Action_Exception
|
* @throws HttpNotFoundException
|
||||||
*/
|
*/
|
||||||
public function httpNotFound($message)
|
public function httpNotFound($message)
|
||||||
{
|
{
|
||||||
throw new Zend_Controller_Action_Exception($message, 404);
|
throw new HttpNotFoundException($message);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user