internal static void TriggerOn(SorePoint pt) { if (pt == @where) { switch (Type) { case Lucene.Net.Util.junitcompat.SoreType.ASSUMPTION: LuceneTestCase.assumeTrue(pt.ToString(), false); throw new Exception("unreachable"); case Lucene.Net.Util.junitcompat.SoreType.ERROR: throw new Exception(pt.ToString()); case Lucene.Net.Util.junitcompat.SoreType.FAILURE: Assert.IsTrue(pt.ToString(), false); throw new Exception("unreachable"); } } }