lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [3/4] lucenenet git commit: use InvalidOperationException as suggest by Itamar to pass build on mono
Date Sat, 23 Apr 2016 22:36:45 GMT
use InvalidOperationException as suggest by Itamar to pass build on mono


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

Branch: refs/heads/master
Commit: e0e42f464cc9644f71d06bfcada8a3e9bfab4394
Parents: 9a60677
Author: devheroo <devhero@yandex.com>
Authored: Fri Apr 22 10:20:35 2016 -0500
Committer: devheroo <devhero@yandex.com>
Committed: Fri Apr 22 10:20:35 2016 -0500

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


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e0e42f46/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 0210cfa..c315ec5 100644
--- a/src/Lucene.Net.Facet/Taxonomy/WriterCache/CollisionMap.cs
+++ b/src/Lucene.Net.Facet/Taxonomy/WriterCache/CollisionMap.cs
@@ -261,7 +261,7 @@ namespace Lucene.Net.Facet.Taxonomy.WriterCache
                 Entry e = this.next_Renamed;
                 if (e == null)
                 {
-					throw new Exception("InstanceNotFoundException");
+					throw new InvalidOperationException(this.GetType() + " cannot get next entry");;
                 }
 
                 Entry n = e.next;


Mime
View raw message