public class DivisionByZeroException extends Exception
Constructor and Description |
---|
DivisionByZeroException(Expression expression)
Creates a new division-by-zero exception.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns a string representation of the exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public DivisionByZeroException(Expression expression)
expression
- the expression that evaluated to zero