Package edu.caltech.nanodb.queryeval
Class InvalidSQLException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- edu.caltech.nanodb.server.NanoDBException
-
- edu.caltech.nanodb.queryeval.InvalidSQLException
-
- All Implemented Interfaces:
java.io.Serializable
public class InvalidSQLException extends NanoDBException
This exception is used to signal when a SQL query contains a semantic error that prevents its evaluation. For example, an expression like "MAX(AVG(a))" is invalid and cannot be evaluated.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidSQLException()
InvalidSQLException(java.lang.String msg)
InvalidSQLException(java.lang.String msg, java.lang.Throwable cause)
InvalidSQLException(java.lang.Throwable cause)
-
-
-
Constructor Detail
-
InvalidSQLException
public InvalidSQLException()
-
InvalidSQLException
public InvalidSQLException(java.lang.String msg)
-
InvalidSQLException
public InvalidSQLException(java.lang.Throwable cause)
-
InvalidSQLException
public InvalidSQLException(java.lang.String msg, java.lang.Throwable cause)
-
-