Package org.jppf

Class JPPFNodeReconnectionNotification

java.lang.Object
java.lang.Throwable
java.lang.Error
org.jppf.JPPFError
org.jppf.JPPFReconnectionNotification
org.jppf.JPPFNodeReconnectionNotification
All Implemented Interfaces:
Serializable

public class JPPFNodeReconnectionNotification extends org.jppf.JPPFReconnectionNotification
This error is thrown to notify a node that its code is obsolete and it should dynamically reload itself.
Author:
Laurent Cohen
See Also:
  • Constructor Details

    • JPPFNodeReconnectionNotification

      public JPPFNodeReconnectionNotification(String message, Throwable cause, ConnectionReason reason)
      Initialize this error with a specified message and cause exception.
      Parameters:
      message - the message for this error.
      cause - the cause exception.
      reason - an enum value indicating the reson for the reconnection.
  • Method Details

    • getReason

      public ConnectionReason getReason()
      Get the reason for the reconnection.
      Returns:
      an enum value indicating the reson for the reconnection.