XSException All Packages | 属性 | 方法(函数) 包 XS 继承关系 class XSException » Exception 子类 XSErrorException 版本 1.0.0 源代码 sdk/php/lib/XS.class.php XS 异常类定义, XS 所有操作过程发生异常均抛出该实例 Protect...
__toString() 方法 public string __toString() {return} string 异常的简要描述信息 源码: sdk/php/lib/XS.class.php#L67 (显示) public function __toString(){ $string = '[' . __CLASS__ . '] ' . $this->getRelPath($this->getFile()) . '(' . $this->getLine() . '): '; $s...
...nfig); } if (isset($this->_fields[$field->name])) { throw new XSException('Duplicated field name: `' . $field->name . '\''); } if ($field->isSpeical()) { if (isset($this->_typeMap[$field->type])) { $prev = $this->_typeMap[$field->type]; throw new XSExc...
getRelPath() 方法 public static string getRelPath(string $file) $file string 需要转换的绝对路径 {return} string 转换后的相对路径 源码: sdk/php/lib/XS.class.php#L79 (显示) public static function getRelPath($file){ $from = getcwd(); $file = real...
...otected function check(){ if ($this->_sock === null) { throw new XSException('No server connection'); } if ($this->_flag & self::BROKEN) { throw new XSException('Broken server connection'); }} 检测服务端的连接情况 close() 方法 public void close(boo...
:s错误:[XSException] ../../../usr/local/xunsearch/sdk/php/lib/XS.php(2331): None of database avaiable(S#506) 求助啊!!!!1
...otected function check(){ if ($this->_sock === null) { throw new XSException('No server connection'); } if ($this->_flag & self::BROKEN) { throw new XSException('Broken server connection'); }} 检测服务端的连接情况
... $msg .= ' property: ' . get_class($this) . '::$' . $name; throw new XSException($msg);} 魔术方法 __get 取得模拟属性的值, 内部实际调用 getXxx 方法的返回值 __isset() 方法 public bool __isset(string $name) $name string 属性名称 {return} b...
... 错误:Object id #9 打印出search.php捕获到的异常,显示 [XSException] ../../../../../usr/local/xunsearch/sdk/php/lib/XS.php(2165): Failed to recv the data from server completely (SIZE:0/8, REASON:closed) #0 /usr/local/xunsearch/sdk/php/lib/XS.php(2105): XSServer->read(8) #1 /usr/...
...(函数) 包 XS 继承关系 class XSErrorException » XSException » Exception 版本 1.0.0 源代码 sdk/php/lib/XS.class.php XS 错误异常类定义, XS 所有操作过程发生错误均抛出该实例 Protected 属性 隐去继承来的属性 ...