You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
499 B
25 lines
499 B
5 years ago
|
<?php
|
||
|
/**
|
||
|
* Typecho Blog Platform
|
||
|
*
|
||
|
* @copyright Copyright (c) 2008 Typecho team (http://www.typecho.org)
|
||
|
* @license GNU General Public License 2.0
|
||
|
* @version $Id: Exception.php 106 2008-04-11 02:23:54Z magike.net $
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* Typecho异常基类
|
||
|
* 主要重载异常打印函数
|
||
|
*
|
||
|
* @package Exception
|
||
|
*/
|
||
|
class Typecho_Exception extends Exception
|
||
|
{
|
||
|
|
||
|
public function __construct($message, $code = 0)
|
||
|
{
|
||
|
$this->message = $message;
|
||
|
$this->code = $code;
|
||
|
}
|
||
|
}
|