public static UnableToCreateTopicException ForTopic(string topic, string version) { if (version == null || version == "") return UnableToCreateTopicException.ForTopic(topic); UnableToCreateTopicException answer = new UnableToCreateTopicException("Unable to create topic (bad namespace?): " + topic + " (version " + version + ")"); answer.Topic = topic; answer.Version = version; return answer; }
public static UnableToCreateTopicException ForTopic(string topic) { UnableToCreateTopicException answer = new UnableToCreateTopicException("Unable to create topic (bad namespace?): " + topic); answer.Topic = topic; return answer; }