src/Sulu/Component/Webspace/Loader/XmlFileLoader10.php
protected function validateWebspaceDefaultLocalization()
    {
        try {
            $this->validateDefaultLocalization($this->webspace->getLocalizations());
        } catch (InvalidDefaultLocalizationException $ex) {
            throw new InvalidWebspaceDefaultLocalizationException($this->webspace);
        }
    }
protected function validateWebspaceDefaultLocalization()
    {
        try {
            $this->validateDefaultLocalization($this->webspace->getLocalizations());
        } catch (InvalidDefaultLocalizationException $ex) {
            throw new InvalidWebspaceDefaultLocalizationException($this->webspace);
        }
    }
protected function validateWebspaceDefaultLocalization ( ) { try { $ this -> validateDefaultLocalization ( $ this -> webspace -> getLocalizations ( ) ) ; } catch ( InvalidDefaultLocalizationException $ ex ) { throw new InvalidWebspaceDefaultLocalizationException ( $ this -> webspace ) ; } }
Validate default webspace localization.

@throws Exception\InvalidWebspaceDefaultLocalizationException
Validate default webspace localization .