result = $result; $this->httpStatusCode = $httpStatusCode; $message = "$result (HTTP Status code: $httpStatusCode)"; parent::__construct($message); } public function getResult() { return $this->result; } public function getHttpStatusCode() { return $this->httpStatusCode; } }