Package org.jcsp.net

Class LinkLostException

  • All Implemented Interfaces:
    java.io.Serializable

    public class LinkLostException
    extends java.lang.RuntimeException
    An exception caused by a link underlying a channel breaking.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.Object source
      The object which threw this exception.
    • Constructor Summary

      Constructors 
      Constructor Description
      LinkLostException​(java.lang.Object source)
      Constructor.
      LinkLostException​(java.lang.Object source, java.lang.String description)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) java.lang.Object getSource()
      Get the object which threw this exception.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • source

        java.lang.Object source
        The object which threw this exception.
    • Constructor Detail

      • LinkLostException

        public LinkLostException​(java.lang.Object source)
        Constructor.
      • LinkLostException

        public LinkLostException​(java.lang.Object source,
                                 java.lang.String description)
        Constructor.
        Parameters:
        description - Description of the error.
    • Method Detail

      • getSource

        java.lang.Object getSource()
        Get the object which threw this exception. This could be a channel or any other distributed construct.
        Returns:
        The object which broke.