private function dumpPortalInformations(array $portalInformations)
    {
        try {
            foreach ($portalInformations as $portalInformation) {
                $this->sitemapDumper->dumpPortalInformation($portalInformation, $this->scheme);
            }
        } catch (\InvalidArgumentException $exception) {
            $this->clear();

            throw $exception;
        }
    }