ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [01/10] ignite git commit: Fixed exception type in GridIoManager.
Date Fri, 29 Sep 2017 11:22:26 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-3478 ac475bc18 -> 7f4defd09


Fixed exception type in GridIoManager.


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

Branch: refs/heads/ignite-3478
Commit: f2dedcab2c2e5e278574ebd7237f4cf593d7d773
Parents: cc6c5e7
Author: sboikov <sboikov@gridgain.com>
Authored: Thu Sep 28 14:54:50 2017 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Thu Sep 28 14:54:50 2017 +0300

----------------------------------------------------------------------
 .../ignite/internal/managers/communication/GridIoManager.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/f2dedcab/modules/core/src/main/java/org/apache/ignite/internal/managers/communication/GridIoManager.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/managers/communication/GridIoManager.java
b/modules/core/src/main/java/org/apache/ignite/internal/managers/communication/GridIoManager.java
index f63f5f0..9c6271a 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/managers/communication/GridIoManager.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/managers/communication/GridIoManager.java
@@ -1667,7 +1667,7 @@ public class GridIoManager extends GridManagerAdapter<CommunicationSpi<Serializa
         ClusterNode node = ctx.discovery().node(nodeId);
 
         if (node == null)
-            throw new IgniteCheckedException("Failed to send message to node (has node left
grid?): " + nodeId);
+            throw new ClusterTopologyCheckedException("Failed to send message to node (has
node left grid?): " + nodeId);
 
         sendToCustomTopic(node, topic, msg, plc);
     }
@@ -1685,7 +1685,7 @@ public class GridIoManager extends GridManagerAdapter<CommunicationSpi<Serializa
         ClusterNode node = ctx.discovery().node(nodeId);
 
         if (node == null)
-            throw new IgniteCheckedException("Failed to send message to node (has node left
grid?): " + nodeId);
+            throw new ClusterTopologyCheckedException("Failed to send message to node (has
node left grid?): " + nodeId);
 
         send(node, topic, topic.ordinal(), msg, plc, false, 0, false, null, false);
     }


Mime
View raw message