Class CellCycleException

All Implemented Interfaces:
Serializable

public final class CellCycleException extends RuntimeException
The exception thrown when a cycle is dectected in directed graph of ComputeCells.
Version:
$Revision: 1.5 $ $Date: 2005/05/13 18:33:25 $
Author:
Steven R. Emmerson
See Also:
  • Constructor Details

    • CellCycleException

      public CellCycleException()
      Constructs from nothing.
  • Method Details

    • setAncestor

      public void setAncestor(DataReference cell)
      Sets the ancestor data cell.
      Parameters:
      cell - The ancestor cell.
    • setChild

      public void setChild(DataReference cell)
      Sets the child data reference.
      Parameters:
      cell - The child cell.
    • setFound

      public void setFound(ComputeCell cell)
      Sets the output cell that caused the cycle.
      Parameters:
      cell - The output cell that caused the cycle.
    • getMessage

      public String getMessage()
      Returns the message associated with this instance.
      Overrides:
      getMessage in class Throwable
      Returns:
      This instances message.
    • getComputeCell

      public ComputeCell getComputeCell()
      Returns the ComputeCell at which a cycle was detected.
      Returns:
      The ComputeCell iat which a cycle was detected.