ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [16/27] incubator-ignite git commit: #Sprint-1 - Fixed failover tests (runtime exception was thrown instead of checked).
Date Fri, 13 Feb 2015 06:24:51 GMT
#Sprint-1 - Fixed failover tests (runtime exception was thrown instead of checked).


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/420c74f8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/420c74f8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/420c74f8

Branch: refs/heads/ignite-189
Commit: 420c74f8c30c8ea85f57619e6faaa5db6475a0de
Parents: 422ffb1
Author: Alexey Goncharuk <agoncharuk@gridgain.com>
Authored: Thu Feb 12 12:44:32 2015 -0800
Committer: Alexey Goncharuk <agoncharuk@gridgain.com>
Committed: Thu Feb 12 12:44:32 2015 -0800

----------------------------------------------------------------------
 .../ignite/internal/processors/cache/GridCacheIoManager.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/420c74f8/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheIoManager.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheIoManager.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheIoManager.java
index 6bc9be9..8cd7c4b 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheIoManager.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheIoManager.java
@@ -500,7 +500,7 @@ public class GridCacheIoManager<K, V> extends GridCacheSharedManagerAdapter<K,
V
         ClusterNode n = cctx.discovery().node(nodeId);
 
         if (n == null)
-            throw new ClusterTopologyException("Failed to send message because node left
grid [nodeId=" + nodeId +
+            throw new ClusterTopologyCheckedException("Failed to send message because node
left grid [nodeId=" + nodeId +
                 ", msg=" + msg + ']');
 
         send(n, msg, plc);


Mime
View raw message