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