Class NetworkPoisonException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jcsp.lang.ChannelDataRejectedException
org.jcsp.lang.PoisonException
org.jcsp.net2.NetworkPoisonException
- All Implemented Interfaces:
Serializable
An exception thrown when a networked channel is poisoned. See the poison exception in the core package for more
information
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longThe SUID of the class -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNetworkPoisonException(int strength) Creates a new NetworkPoisonException -
Method Summary
Methods inherited from class PoisonException
getStrengthMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDThe SUID of the class- See Also:
-
-
Constructor Details
-
NetworkPoisonException
protected NetworkPoisonException(int strength) Creates a new NetworkPoisonException- Parameters:
strength- The strength of the poison
-