BUG: Inheriting InvalidMarkException from InvalidOperationException seems to cause infinite recursion
Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/0ac91f53 Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/0ac91f53 Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/0ac91f53 Branch: refs/heads/master Commit: 0ac91f53bb1dd1f544e8b68366889bb2bc846f9b Parents: da77a12 Author: Shad Storhaug <[email protected]> Authored: Sat Apr 29 18:04:08 2017 +0700 Committer: Shad Storhaug <[email protected]> Committed: Mon May 1 04:48:36 2017 +0700 ---------------------------------------------------------------------- src/Lucene.Net/Support/IO/BufferExceptions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucenenet/blob/0ac91f53/src/Lucene.Net/Support/IO/BufferExceptions.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net/Support/IO/BufferExceptions.cs b/src/Lucene.Net/Support/IO/BufferExceptions.cs index 5cc0bb6..7473f7c 100644 --- a/src/Lucene.Net/Support/IO/BufferExceptions.cs +++ b/src/Lucene.Net/Support/IO/BufferExceptions.cs @@ -94,7 +94,7 @@ namespace Lucene.Net.Support.IO #if FEATURE_SERIALIZABLE [Serializable] #endif - internal sealed class InvalidMarkException : InvalidOperationException + internal sealed class InvalidMarkException : Exception { public InvalidMarkException() {
