lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [1/4] lucenenet git commit: replace InstanceNotFoundException with the base Exception class to allow building on Mono and Linux
Date Sat, 23 Apr 2016 22:36:43 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/master c78bc2e5d -> b6c703d93


replace InstanceNotFoundException with the base Exception class to allow building on Mono
and Linux


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/4674916f
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/4674916f
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/4674916f

Branch: refs/heads/master
Commit: 4674916f148d61843f293175613f0b83c66cbe2e
Parents: c006314
Author: devheroo <devhero@yandex.com>
Authored: Wed Apr 20 14:09:09 2016 -0500
Committer: devheroo <devhero@yandex.com>
Committed: Wed Apr 20 14:09:09 2016 -0500

----------------------------------------------------------------------
 src/Lucene.Net.Facet/Taxonomy/WriterCache/CollisionMap.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4674916f/src/Lucene.Net.Facet/Taxonomy/WriterCache/CollisionMap.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Facet/Taxonomy/WriterCache/CollisionMap.cs b/src/Lucene.Net.Facet/Taxonomy/WriterCache/CollisionMap.cs
index 000532c..0210cfa 100644
--- a/src/Lucene.Net.Facet/Taxonomy/WriterCache/CollisionMap.cs
+++ b/src/Lucene.Net.Facet/Taxonomy/WriterCache/CollisionMap.cs
@@ -1,7 +1,7 @@
 ´╗┐using System;
 using System.Collections;
 using System.Collections.Generic;
-using System.Management.Instrumentation;
+
 
 namespace Lucene.Net.Facet.Taxonomy.WriterCache
 {
@@ -261,7 +261,7 @@ namespace Lucene.Net.Facet.Taxonomy.WriterCache
                 Entry e = this.next_Renamed;
                 if (e == null)
                 {
-                    throw new InstanceNotFoundException();
+					throw new Exception("InstanceNotFoundException");
                 }
 
                 Entry n = e.next;


Mime
View raw message