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
ComputeCell
s.- 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 theComputeCell
at which a cycle was detected.Returns the message associated with this instance.void
setAncestor
(DataReference cell) Sets the ancestor data cell.void
setChild
(DataReference cell) Sets the child data reference.void
setFound
(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:
getMessage
in classThrowable
- Returns:
- This instances message.
-
getComputeCell
Returns theComputeCell
at which a cycle was detected.- Returns:
- The
ComputeCell
iat which a cycle was detected.
-