Package org.jcsp.net2
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 long
The SUID of the class -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
NetworkPoisonException
(int strength) Creates a new NetworkPoisonException -
Method Summary
Methods inherited from class org.jcsp.lang.PoisonException
getStrength
Methods inherited from class java.lang.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
-