csheets.core.formula.compiler
Class FormulaCompilationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by csheets.core.formula.compiler.FormulaCompilationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IllegalFunctionCallException, UnknownElementException

public class FormulaCompilationException
extends Exception

An exception that is thrown during compilation.

Author:
Einar Pehrson
See Also:
Serialized Form

Constructor Summary
FormulaCompilationException()
          Creates a new compilation exception.
FormulaCompilationException(String message)
          Creates a new compilation exception.
FormulaCompilationException(Throwable cause)
          Creates a new compilation exception.
 
Method Summary
 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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FormulaCompilationException

public FormulaCompilationException()
Creates a new compilation exception.


FormulaCompilationException

public FormulaCompilationException(Throwable cause)
Creates a new compilation exception.

Parameters:
cause - the throwable that caused the exception to be raised

FormulaCompilationException

public FormulaCompilationException(String message)
Creates a new compilation exception.

Parameters:
message - a message that describes what happened
Method Detail

toString

public String toString()
Returns a string representation of the exception.

Overrides:
toString in class Throwable
Returns:
a string representation of the exception