Package org.eclipse.keyple.distributed
Class NodeCommunicationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.eclipse.keyple.distributed.NodeCommunicationException
-
- All Implemented Interfaces:
java.io.Serializable
public class NodeCommunicationException extends java.lang.RuntimeException
This exception is thrown when an error occurs during the communication between nodes.This can happen, for example, if the remote node is unreachable or takes too long to respond.
- Since:
- 2.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodeCommunicationException(java.lang.String message)
NodeCommunicationException(java.lang.String message, java.lang.Throwable cause)
Encapsulates a lower level external exception.
-
-
-
Constructor Detail
-
NodeCommunicationException
public NodeCommunicationException(java.lang.String message)
- Parameters:
message
- The message to identify the exception context.- Since:
- 2.0.0
-
NodeCommunicationException
public NodeCommunicationException(java.lang.String message, java.lang.Throwable cause)
Encapsulates a lower level external exception.- Parameters:
message
- The message to identify the exception context.cause
- The cause.- Since:
- 2.0.0
-
-