com.triactive.jdo.store
Class TableMismatchException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.jdo.JDOException
                  extended by javax.jdo.JDOFatalException
                      extended by javax.jdo.JDOFatalInternalException
                          extended by com.triactive.jdo.store.TableMismatchException
All Implemented Interfaces:
java.io.Serializable

public class TableMismatchException
extends javax.jdo.JDOFatalInternalException

A TableMismatchException is thrown if the query statement generator attempts to reference a column in a table expression but the column's table is not present in the expression, nor can it be sensibly joined to the expression. This indicates a bug in the query statement generator.

Author:
Mike Martin
See Also:
TableExpression, Serialized Form

Constructor Summary
TableMismatchException(Column column, Table mainTable)
          Constructs a table mismatch exception.
 
Method Summary
 
Methods inherited from class javax.jdo.JDOException
getCause, getFailedObject, getNestedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TableMismatchException

public TableMismatchException(Column column,
                              Table mainTable)
Constructs a table mismatch exception.

Parameters:
column - The column that was being referenced.
mainTable - The main table of the table expression.


Copyright ? 2001 TriActive, Inc. All Rights Reserved.