org.eigenbase.sql.validate
Class SqlValidatorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.eigenbase.sql.validate.SqlValidatorException
All Implemented Interfaces:
Serializable, EigenbaseValidatorException

public class SqlValidatorException
extends Exception
implements EigenbaseValidatorException

Exception thrown while validating a SQL statement.

Unlike EigenbaseException, this is a checked exception, which reminds code authors to wrap it in another exception containing the line/column context.

Since:
Oct 28, 2004
Version:
$Id: //open/dev/farrago/src/org/eigenbase/sql/validate/SqlValidatorException.java#12 $
Author:
jhyde
See Also:
Serialized Form

Field Summary
(package private) static long serialVersionUID
           
private static Logger tracer
           
 
Constructor Summary
SqlValidatorException(String message, Throwable cause)
          Creates a new SqlValidatorException object.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tracer

private static Logger tracer

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

SqlValidatorException

public SqlValidatorException(String message,
                             Throwable cause)
Creates a new SqlValidatorException object.

Parameters:
message - error message
cause - underlying cause