public function getKey() { if (empty($this->key)) { throw new TException('The Key property must be specified.'); } return $this->key; }