Inheritance: extends Exception
 /**
  * @param Webspace $portal
  * @param string   $urlPattern
  */
 public function __construct(Webspace $portal, $urlPattern)
 {
     $this->webspace = $portal;
     $this->urlPattern = $urlPattern;
     $message = 'The url pattern "' . $urlPattern . '" in the webspace definition "' . $portal->getKey() . '" ' . 'has not specified the required attributes (either with xml attributes or as placeholders in the pattern)';
     parent::__construct($message, 0);
 }
 /**
  * @param Webspace $webspace
  * @param Portal   $portal
  */
 public function __construct(Webspace $webspace, Portal $portal)
 {
     $this->webspace = $webspace;
     $this->portal = $portal;
     $message = 'The portal "' . $portal->getKey() . '" in the webspace definition "' . $webspace->getKey() . '" ' . 'has multiple default localizations';
     parent::__construct($message, 0);
 }
 /**
  * @param Webspace $webspace
  * @param Portal   $portal
  */
 public function __construct(Webspace $webspace, Portal $portal)
 {
     $this->webspace = $webspace;
     $this->portal = $portal;
     $message = 'The portal "' . $portal->getKey() . '" in the webspace definition "' . $webspace->getKey() . '" ' . 'has not specified the required attributes (a default localization)';
     parent::__construct($message, 0);
 }
 /**
  * @param Webspace $webspace
  */
 public function __construct(Webspace $webspace)
 {
     $this->webspace = $webspace;
     $message = 'The webspace definition for "' . $webspace->getKey() . '" has no default localization';
     parent::__construct($message, 0);
 }
Example #5
0
 /**
  * @param Webspace $webspace
  */
 public function __construct(Webspace $webspace, $customUrl)
 {
     parent::__construct('The custom-url "' . $customUrl . '" for "' . $webspace->getKey() . '" has no placeholder');
     $this->customUrl = $customUrl;
     $this->webspace = $webspace;
 }
 /**
  * @param Webspace $webspace
  */
 public function __construct(Webspace $webspace)
 {
     parent::__construct('The webspace definition for "' . $webspace->getKey() . '" has locales which are not used in any portal');
     $this->webspace = $webspace;
 }
 /**
  * @param Webspace $webspace
  */
 public function __construct(Webspace $webspace)
 {
     $this->webspace = $webspace;
     $message = 'The webspace definition for "' . $webspace->getKey() . '" has has multiple default segment';
     parent::__construct($message, 0);
 }