Errors and exceptions handling, #16
git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/branches/evo@121 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
This commit is contained in:
@ -9,15 +9,4 @@
|
||||
* @filesource $URL$
|
||||
*/
|
||||
|
||||
class Error404Exception extends GeneralException
|
||||
{
|
||||
protected $code = 404;
|
||||
|
||||
protected function sendHeader()
|
||||
{
|
||||
if (! headers_sent()) {
|
||||
header('HTTP/1.0 404 Not Found');
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
class Error404Exception extends GeneralException {}
|
Reference in New Issue
Block a user