function __construct($class_name, $prop_name) { $this->class_name = $class_name; $this->prop_name = $prop_name; // LC_MSG: ActiveRecord 类 "%s" 没有定义属性 "%s",或者该属性不是关联对象. parent::__construct(__('ActiveRecord 类 "%s" 没有定义属性 "%s",或者该属性不是关联对象.', $class_name, $prop_name)); }
function __construct(QReflection_Application $app, $module_name) { $this->reflection_app = $app; $this->reflection_module_name = $module_name; // LC_MSG: Undefined module "%s" on application "%s". parent::__construct(__('Undefined module "%s" on application "%s".', $module_name, $app->APPID())); }
/** * 析构函数 */ function __destruct() { QDebug::dump(__METHOD__); $this->release(); if ($this->_exception) { if ($this->_previous_handler) { call_user_func($this->_previous_handler, $this->_exception); } else { QException::dump($this->_exception); } } }
function __construct($route_name) { $this->route_name = $route_name; parent::__construct(__('Route "%s" not found.', $route_name)); }
function __construct($class_name) { $this->class_name = $class_name; parent::__construct(__('Security check: Illegal character in class name "%s".', $class_name)); }
function __construct($class_name, $filename) { $this->class_name = $class_name; $this->filename = $filename; parent::__construct(__('Class "%s" declare file "%s" exists.', $class_name, $filename)); }
function __construct($route_name, $rule) { $this->route_name = $route_name; $this->rule = $rule; parent::__construct(__('Invalid route "%s".', $route_name)); }
function __construct($username, $msg) { $this->username = $username; parent::__construct($msg); }
function __construct($class_name, $filename) { $this->class_name = $class_name; $this->filename = $filename; parent::__construct(__('Class "%s" not defined in file "%s".', $class_name, $filename)); }
function __construct($dir) { $this->dir = $dir; parent::__construct(__('Remove dir "%s" failed.', $dir)); }
function __construct($msg, $filename = null) { $this->filename = $filename; parent::__construct(__($msg, $filename)); }
function __construct($class_name, $prop_name) { $this->prop_name = $prop_name; // LC_MSG: Undefined property "%s" on object "%s" instance. parent::__construct($class_name, __('Undefined property "%s" on object "%s" instance.', $prop_name, $class_name)); }
function __construct(API_Doc_Abstract $doc, $msg) { $this->source_file = $doc->filename; $this->line_num = $doc->start_line; parent::__construct($msg); }
function __construct($filename) { $this->ex_filename = $filename; parent::__construct(__('Create file "%s" failed.', $filename)); }
function __construct($sql, $error, $errcode = 0) { $this->sql = $sql; parent::__construct($error, $errcode); }
function __construct($class_name, $msg) { $this->ar_class_name = $class_name; parent::__construct($msg); }
function __construct($filename) { $this->filename = $filename; // LC_MSG: File "%s" not readable. parent::__construct(__('File "%s" not readable.', $filename)); }
/** * 默认的异常处理 */ function exception_handler(Exception $ex) { QException::dump($ex); }
function __construct($route_name, $msg) { $this->route_name = $route_name; parent::__construct($msg); }
function __construct($filename) { $this->required_filename = $filename; parent::__construct(__('File "%s" not found.', $filename)); }
/** * 构造函数 * * @param array $errors * @param array $data */ function __construct(array $errors, array $data = array()) { $this->validate_errors = $errors; $this->validate_data = $data; parent::__construct($this->formatToString()); }
/** * 默认的异常处理 */ function exception_handler(Exception $ex) { QException::dump($ex); dump('如果要改变对异常的处理,请修改文件 "' . __FILE__ . '" 的 exception_handler() 方法'); }
function __construct($filename) { $this->required_filename = $filename; parent::__construct(__('Security check: Illegal character in filename "%s".', $filename)); }