public function setPartialMatch($partialMatch = null)
    {
        if (!is_bool($partialMatch) && ($partialMatch !== null)) {
            throw GeocodingException::invalidGeocoderResultPartialMatch();
        }

        $this->partialMatch = $partialMatch;
    }