Package org.jcsp.net

Class LinkLostException

All Implemented Interfaces:
Serializable

public class LinkLostException extends RuntimeException
An exception caused by a link underlying a channel breaking.
See Also:
  • Field Details

    • source

      Object source
      The object which threw this exception.
  • Constructor Details

    • LinkLostException

      public LinkLostException(Object source)
      Constructor.
    • LinkLostException

      public LinkLostException(Object source, String description)
      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.