public function getBody($msgid) { SpotDebug::msg(SpotDebug::TRACE, __CLASS__ . "->getBody(" . $msgid . ")"); $this->connect(); try { $this->registerTryCommand(); return $this->_nntp->getBody($msgid); } catch (Exception $x) { $this->registerError($x); echo PHP_EOL . 'getBody(): Failed to retrieve article: ' . $msgid . PHP_EOL; /** * Try this operation again, but make sure we are not overloading * the NNTP server with useless requests */ if ($this->tooManyErrors()) { throw $x; } else { return $this->getBody($msgid); } # else } # catch }