Class TableMismatchException

  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.jdo.JDOException
                  extended byjavax.jdo.JDOFatalException
                      extended byjavax.jdo.JDOFatalInternalException
All Implemented Interfaces:

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.

Mike Martin
See Also:
TableExpression, Serialized Form

Constructor Summary
TableMismatchException(Column column, Table mainTable)
          Constructs a table mismatch exception.
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


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

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

Copyright 2001-2007 The TJDO Project All Rights Reserved.