예제 #1
0
		public static TopicIsAmbiguousException ForTopic(TopicName topic)
		{
			TopicIsAmbiguousException answer = new TopicIsAmbiguousException("Topic is ambiguous: " + topic.ToString());
			answer.Topic = topic;
			return answer;
		}
예제 #2
0
		public static DuplicateTopicException ForTopic(TopicName tn)
		{
			DuplicateTopicException answer = new DuplicateTopicException("Duplicate topic: " + tn.ToString());
			answer.Topic = tn;
			return answer;
		}
예제 #3
0
		public static TopicNotFoundException ForTopic(TopicName topic)
		{
			TopicNotFoundException answer = new TopicNotFoundException("Topic not found: " + topic.ToString());
			answer.Topic = topic;
			return answer;
		}