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); }
/** * @param string $object * @param int $id * @param mixed $webspaceKey * @param string $locale */ public function __construct($object, $id, $webspaceKey, $locale) { parent::__construct(sprintf('RouteDefaultsProvider for "%s" not found.', get_class($object)), self::BASE_CODE + 2, $object, $id, $webspaceKey, $locale); }
/** * @param \Exception $exception * @param int $object * @param mixed $id * @param string $webspaceKey * @param string $locale */ public function __construct(\Exception $exception, $object, $id, $webspaceKey, $locale) { parent::__construct($exception->getMessage(), self::BASE_CODE + 5, $object, $id, $webspaceKey, $locale, $exception); }