* @link http://netmonsters.ru * @package Majestic * @subpackage exception * @since 2010-02-26 * @version SVN: $Id$ * @filesource $URL$ */ class Error404Exception extends GeneralException { protected $code = 404; protected function sendHeader() { if (! headers_sent()) { header('HTTP/1.0 404 Not Found'); } } }