Revorked Error404Exception . New ErrorHTTPException introduced.

This commit is contained in:
Anton Terekhov
2012-11-11 18:31:57 +04:00
parent 2aafb3a394
commit 618f12224e
6 changed files with 162 additions and 5 deletions

View File

@ -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);
}
}