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