コード例 #1
0
		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;
		}
コード例 #2
0
		public static UnableToCreateTopicException ForTopic(string topic)
		{
			UnableToCreateTopicException answer = new UnableToCreateTopicException("Unable to create topic (bad namespace?): " + topic);
			answer.Topic = topic;
			return answer;
		}