Package ucar.unidata.view.sounding
Class CellCycleException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ucar.unidata.view.sounding.CellCycleException
- All Implemented Interfaces:
Serializable
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns theComputeCellat which a cycle was detected.Returns the message associated with this instance.voidsetAncestor(DataReference cell) Sets the ancestor data cell.voidsetChild(DataReference cell) Sets the child data reference.voidsetFound(ComputeCell cell) Sets the output cell that caused the cycle.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CellCycleException
public CellCycleException()Constructs from nothing.
-
-
Method Details
-
setAncestor
Sets the ancestor data cell.- Parameters:
cell- The ancestor cell.
-
setChild
Sets the child data reference.- Parameters:
cell- The child cell.
-
setFound
Sets the output cell that caused the cycle.- Parameters:
cell- The output cell that caused the cycle.
-
getMessage
Returns the message associated with this instance.- Overrides:
getMessagein classThrowable- Returns:
- This instances message.
-
getComputeCell
Returns theComputeCellat which a cycle was detected.- Returns:
- The
ComputeCelliat which a cycle was detected.
-