lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [07/50] [abbrv] lucenenet git commit: Lucene.Net.Core.Index.MergePolicy.MergeException: Changed constructor to pass the stack trace information and original exception
Date Wed, 15 Mar 2017 23:49:49 GMT
Lucene.Net.Core.Index.MergePolicy.MergeException: Changed constructor to pass the stack trace
information and original exception


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

Branch: refs/heads/api-work
Commit: 234c27844365fc7f95ce250bb53e0a60e52e4c99
Parents: 979bcb3
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Tue Mar 14 07:39:42 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Tue Mar 14 22:04:21 2017 +0700

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


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/234c2784/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 4750e49..16ff3bd 100644
--- a/src/Lucene.Net.Core/Index/MergePolicy.cs
+++ b/src/Lucene.Net.Core/Index/MergePolicy.cs
@@ -481,7 +481,7 @@ namespace Lucene.Net.Index
             private Directory dir;
 
             /// <summary>
-            /// Create a {@code MergeException}. </summary>
+            /// Create a <see cref="MergeException"/>. </summary>
             public MergeException(string message, Directory dir)
                 : base(message)
             {
@@ -489,9 +489,9 @@ namespace Lucene.Net.Index
             }
 
             /// <summary>
-            /// Create a {@code MergeException}. </summary>
+            /// Create a <see cref="MergeException"/>. </summary>
             public MergeException(Exception exc, Directory dir)
-                : base(exc.Message)
+                : base(exc.ToString(), exc)
             {
                 this.dir = dir;
             }


Mime
View raw message