lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [27/47] lucenenet git commit: Marked the Core.Index.MergePolicy.MergeException class serializable.
Date Tue, 11 Oct 2016 18:35:12 GMT
Marked the Core.Index.MergePolicy.MergeException class serializable.


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

Branch: refs/heads/master
Commit: b00ad494fa102835748319b606d6cf348fac0409
Parents: a84f173
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Mon Oct 10 14:38:15 2016 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Tue Oct 11 00:26:24 2016 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Core/Index/MergePolicy.cs | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/b00ad494/src/Lucene.Net.Core/Index/MergePolicy.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Index/MergePolicy.cs b/src/Lucene.Net.Core/Index/MergePolicy.cs
index b48a55b..2112ddf 100644
--- a/src/Lucene.Net.Core/Index/MergePolicy.cs
+++ b/src/Lucene.Net.Core/Index/MergePolicy.cs
@@ -456,6 +456,8 @@ namespace Lucene.Net.Index
         /// Exception thrown if there are any problems while
         ///  executing a merge.
         /// </summary>
+        // LUCENENET: All exeption classes should be marked serializable
+        [Serializable]
         public class MergeException : Exception
         {
             internal Directory Dir;


Mime
View raw message