Add namespace.
This commit is contained in:
15
Exception/Error404Exception.php
Normal file
15
Exception/Error404Exception.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php namespace Majestic\Exception;
|
||||
/**
|
||||
* @copyright NetMonsters <team@netmonsters.ru>
|
||||
* @link http://netmonsters.ru
|
||||
* @package Majestic
|
||||
* @subpackage exception
|
||||
* @since 2010-02-26
|
||||
*/
|
||||
|
||||
class Error404Exception extends ErrorHTTPException {
|
||||
function __construct($message = '', $code = null, \Exception $previous = NULL )
|
||||
{
|
||||
parent::__construct($message, 404, $previous);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user