modelId = $modelId; parent::__construct('Portable Model ' . $modelId . ' not found'); } /** * (non-PHPdoc) * @see common_exception_UserReadableException::getUserMessage() */ public function getUserMessage() { return __('Portable element model %s not found. Required extension might be missing', $this->modelId); } }