public function __construct($object, $id, $webspaceKey, $locale) { parent::__construct(sprintf('Portal for combination of webspace "%s" and locale "%s" not found.', $webspaceKey, $locale), self::BASE_CODE + 1, $object, $id, $webspaceKey, $locale); }