Package org.jcsp.net
Class LinkLostException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jcsp.net.LinkLostException
- All Implemented Interfaces:
Serializable
An exception caused by a link underlying a channel breaking.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLinkLostException
(Object source) Constructor.LinkLostException
(Object source, String description) Constructor. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
source
Object sourceThe object which threw this exception.
-
-
Constructor Details
-
LinkLostException
Constructor. -
LinkLostException
Constructor.- Parameters:
description
- Description of the error.
-
-
Method Details
-
getSource
Object getSource()Get the object which threw this exception. This could be a channel or any other distributed construct.- Returns:
- The object which broke.
-