public function __construct($vals = null) { if (!isset(self::$_TSPEC)) { self::$_TSPEC = array(1 => array('var' => 'msg', 'type' => TType::STRING)); } if (is_array($vals)) { if (isset($vals['msg'])) { $this->msg = $vals['msg']; } } }
public function __construct($cause = 'unknown', $code = -1, $previous = null) { $msg = sprintf($this->msgTpl, $cause); parent::__construct($msg, $code, $previous); }
public function __construct($vertice, $value, $code = -1, $previous = null) { $message = sprintf($this->msgTpl, $vertice, $value); parent::__construct($message, $code, $previous); }
public function __construct($rowNum, $code = -1, $previous = null) { $message = sprintf($this->msgTpl, $rowNum); parent::__construct($message, $code, $previous); }
public function __construct($msg = null, $code = -1, $previous = null) { parent::__construct($this->msgTpl, $code, $previous); }