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 Summary
ConstructorsConstructorDescriptionJPPFNodeReconnectionNotification(String message, Throwable cause, ConnectionReason reason) Initialize this error with a specified message and cause exception. -
Method Summary
Modifier and TypeMethodDescriptionGet the reason for the reconnection.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JPPFNodeReconnectionNotification
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
Get the reason for the reconnection.- Returns:
- an enum value indicating the reson for the reconnection.
-