lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [19/50] [abbrv] lucenenet git commit: Lucene.Net.Core.Store.AlreadyClosedException: Fixed AlreadyClosedException to subclass InvalidOperationException to ensure it is caught in the right places
Date Sun, 05 Mar 2017 11:48:58 GMT
Lucene.Net.Core.Store.AlreadyClosedException: Fixed AlreadyClosedException to subclass InvalidOperationException
to ensure it is caught in the right places


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

Branch: refs/heads/api-work
Commit: f18fd2ed3dcb6c87000e2a8673ec26249d1ea7cf
Parents: 018790f
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Fri Mar 3 14:08:02 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Sun Mar 5 17:08:37 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Core/Store/AlreadyClosedException.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f18fd2ed/src/Lucene.Net.Core/Store/AlreadyClosedException.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Store/AlreadyClosedException.cs b/src/Lucene.Net.Core/Store/AlreadyClosedException.cs
index 875fe59..e8a2837 100644
--- a/src/Lucene.Net.Core/Store/AlreadyClosedException.cs
+++ b/src/Lucene.Net.Core/Store/AlreadyClosedException.cs
@@ -27,7 +27,7 @@ namespace Lucene.Net.Store
 #if FEATURE_SERIALIZABLE
     [Serializable]
 #endif
-    public class AlreadyClosedException : System.Exception // LUCENENET TODO: Replace with
ObjectDisposedException and comment out
+    public class AlreadyClosedException : InvalidOperationException // LUCENENET TODO: Replace
with ObjectDisposedException and comment out (ObjectDisposedException inherits InvalidOperationException,
so it should work great)
     {
         public AlreadyClosedException(string message)
             : base(message)


Mime
View raw message