/**
  * {@inheritdoc}
  */
 public function get(ApiHttpPathAndQuery $apiHttpPathAndQuery)
 {
     try {
         $request = $this->requestFactory->createRequest(self::GET_REQUEST, $this->apiHttpClientConfiguration->buildUri($apiHttpPathAndQuery), $this->apiHttpClientConfiguration->buildHeaders());
         $response = $this->httpClient->sendRequest($request);
     } catch (Exception $exception) {
         if ($this->isNotFoundError($exception)) {
             throw new ApiHttpClientNotFoundException($this->apiHttpClientConfiguration->buildUri($apiHttpPathAndQuery));
         }
         throw new ApiHttpClientException($exception->getMessage(), $exception->getCode(), $exception);
     }
     return $response->getBody()->getContents();
 }