Package edu.caltech.nanodb.expressions
Class DivideByZeroException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- edu.caltech.nanodb.server.NanoDBException
-
- edu.caltech.nanodb.expressions.ExpressionException
-
- edu.caltech.nanodb.expressions.DivideByZeroException
-
- All Implemented Interfaces:
java.io.Serializable
public class DivideByZeroException extends ExpressionException
This exception is thrown when an expression would cause a divide by zero.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DivideByZeroException()
Construct a divide-by-zero exception with no message.DivideByZeroException(java.lang.String msg)
Construct a divide-by-zero exception with the specified message.DivideByZeroException(java.lang.String msg, java.lang.Throwable cause)
Construct a divide-by-zero exception with the specified message and cause.DivideByZeroException(java.lang.Throwable cause)
Construct a divide-by-zero exception with the specified cause and no message.
-
-
-
Constructor Detail
-
DivideByZeroException
public DivideByZeroException()
Construct a divide-by-zero exception with no message.
-
DivideByZeroException
public DivideByZeroException(java.lang.String msg)
Construct a divide-by-zero exception with the specified message.
-
DivideByZeroException
public DivideByZeroException(java.lang.Throwable cause)
Construct a divide-by-zero exception with the specified cause and no message.
-
DivideByZeroException
public DivideByZeroException(java.lang.String msg, java.lang.Throwable cause)
Construct a divide-by-zero exception with the specified message and cause.
-
-