http://www.eteks.com

com.eteks.jeks
Class CircularityException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.eteks.jeks.CircularityException
All Implemented Interfaces:
java.io.Serializable

public class CircularityException
extends java.lang.RuntimeException

Exception thrown by the checkCircularity () method of JeksExpression, if a circularity is detected in the cell's references of a table.

Since:
Jeks 1.0
Version:
1.0
Author:
Emmanuel Puybaret
See Also:
JeksExpression, Serialized Form

Constructor Summary
CircularityException()
           
 
Method Summary
 void addCell(JeksCell cell)
          Adds a cell to the list of cells of the exception.
 java.util.Vector getCells()
          Returns a vector containing the cells that are in the exception.
 java.lang.String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CircularityException

public CircularityException()
Method Detail

addCell

public void addCell(JeksCell cell)
Adds a cell to the list of cells of the exception.
Parameters:
cell - a cell.

getCells

public final java.util.Vector getCells()
Returns a vector containing the cells that are in the exception.
Returns:
A vector of JeksCell instances.

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

&cp; 1998-2003 eTeks - All rights reserved