csheets.core.formula.lang
Class DivisionByZeroException
java.lang.Object
java.lang.Throwable
java.lang.Exception
csheets.core.formula.lang.DivisionByZeroException
- All Implemented Interfaces:
- Serializable
public class DivisionByZeroException
- extends Exception
An exception that is thrown when a division by zero is evaluated.
- Author:
- Einar Pehrson
- See Also:
- Serialized Form
|
Method Summary |
String |
toString()
Returns a string representation of the exception. |
DivisionByZeroException
public DivisionByZeroException(Expression expression)
- Creates a new division-by-zero exception.
- Parameters:
expression - the expression that evaluated to zero
toString
public String toString()
- Returns a string representation of the exception.
- Overrides:
toString in class Throwable
- Returns:
- a string representation of the exception