Revorked Error404Exception . New ErrorHTTPException introduced.
This commit is contained in:
@ -5,8 +5,11 @@
|
||||
* @package Majestic
|
||||
* @subpackage exception
|
||||
* @since 2010-02-26
|
||||
* @version SVN: $Id$
|
||||
* @filesource $URL$
|
||||
*/
|
||||
|
||||
class Error404Exception extends GeneralException {}
|
||||
class Error404Exception extends ErrorHTTPException {
|
||||
function __construct($message = '', $code = null, Exception $previous = NULL )
|
||||
{
|
||||
parent::__construct($message, 404, $previous);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user