exception = $e;} public function hasException() { return $this->exception !== NULL;} public function setResult($r) { $this->result = $r;} public function getResult() { return $this->result;} } ?>