/// <summary> /// Gets the topic description for the given one /// </summary> /// <param name="path">The path</param> /// <returns>The instance of TopicDescription</returns> /// <exception cref="ArgumentException">When no topic exists for the given path</exception> public TopicDescription Get(string path) { path.NotNullOrEmpty(nameof(path)); var namespaceManager = _namespaceManagerFactory.Get(); if (!namespaceManager.TopicExists(path)) { throw new ArgumentException( "There is no topic with the given name {0}".AsFormat(path)); } return(namespaceManager.GetTopic(path)); }