|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
csheets.core.formula.util.ExpressionVisitorException
csheets.core.formula.util.CircularReferenceException
public class CircularReferenceException
An exception that is thrown if a formula contains a reference (directly or indirectly) to the cell in which it is contained.
| Constructor Summary | |
|---|---|
CircularReferenceException(Formula formula)
Creates a new circular reference exception. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
Returns whether the other object is an identical value . |
Formula |
getFormula()
Returns the formula in which the circularity exists. |
String |
toString()
Returns a string representation of the exception. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CircularReferenceException(Formula formula)
formula - the formula that caused the exception| Method Detail |
|---|
public Formula getFormula()
public String toString()
toString in class Throwablepublic boolean equals(Object other)
equals in class Objectother - the object to check for equality
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||