Class ClientExceptionsUtils
- java.lang.Object
- 
- org.apache.ignite.spi.communication.tcp.ClientExceptionsUtils
 
- 
 public class ClientExceptionsUtils extends Object Utils to analyze client-related exceptions.
- 
- 
Constructor SummaryConstructors Constructor Description ClientExceptionsUtils()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisAttemptToEstablishDirectConnectionWhenOnlyInverseIsAllowed(Throwable t)Returnstrueif the exception that is provided is thrown because an attempt to open a direct connection was made while only inverse connections are allowed.static booleanisClientNodeTopologyException(Throwable t, ClusterNode node)Returnstrueif the exception relates to cluster topology change that prevents a connection, AND the given node is client.
 
- 
- 
- 
Method Detail- 
isClientNodeTopologyExceptionpublic static boolean isClientNodeTopologyException(Throwable t, ClusterNode node) Returnstrueif the exception relates to cluster topology change that prevents a connection, AND the given node is client.- Parameters:
- t- The exception we analyze.
- node- Node to which we tried to send a message, but the send produced the given exception.
- Returns:
- trueif the exception relates to cluster topology change that prevents a connection, AND the given node is client.
 
 - 
isAttemptToEstablishDirectConnectionWhenOnlyInverseIsAllowedpublic static boolean isAttemptToEstablishDirectConnectionWhenOnlyInverseIsAllowed(Throwable t) Returnstrueif the exception that is provided is thrown because an attempt to open a direct connection was made while only inverse connections are allowed.- Parameters:
- t- Exception to inspect.
- Returns:
- trueif the exception that is provided is thrown because an attempt to open a direct connection was made while only inverse connections are allowed.
 
 
- 
 
-