Class TableMismatchException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.datanucleus.exceptions.NucleusException
                  extended by
All Implemented Interfaces:

public class TableMismatchException
extends NucleusException

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.

$Revision: 1.11 $
See Also:
LogicSetExpression, Serialized Form

Field Summary
protected static Localiser LOCALISER
Constructor Summary
TableMismatchException(DatastoreField column, DatastoreContainerObject mainTable)
          Constructs a table mismatch exception.
Method Summary
Methods inherited from class org.datanucleus.exceptions.NucleusException
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail


protected static final Localiser LOCALISER
Constructor Detail


public TableMismatchException(DatastoreField column,
                              DatastoreContainerObject mainTable)
Constructs a table mismatch exception.

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

Copyright © 2010. All Rights Reserved.