com.japisoft.formula
Class FormulaException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.japisoft.formula.FormulaException
All Implemented Interfaces:
java.io.Serializable

public class FormulaException
extends java.lang.RuntimeException

Exception for a formula. Use the getError or the getErrorLocation method for retreiving information about the problem.

More information at : http://www.japisoft.com

Version:
1.0
Author:
(c) 2002 JAPISoft
See Also:
Engine, Serialized Form

Method Summary
 java.lang.String getError()
           
 int getErrorLineLocation()
           
 int getErrorLocation()
           
 Formula getSource()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getSource

public Formula getSource()

getErrorLocation

public int getErrorLocation()
Returns:
The location of the error from a formula expression

getErrorLineLocation

public int getErrorLineLocation()
Returns:
the line location of the error from a formula expression

getError

public java.lang.String getError()
Returns:
An error message