org.jpox.store.exceptions
Class TableMismatchException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.jdo.JDOException
                  extended byjavax.jdo.JDOFatalException
                      extended byjavax.jdo.JDOFatalInternalException
                          extended byorg.jpox.store.exceptions.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.

Version:
$Revision: 1.10 $
See Also:
LogicSetExpression, Serialized Form

Field Summary
protected static Localiser LOCALISER
           
 
Constructor Summary
TableMismatchException(DatastoreField column, DatastoreContainerObject 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
 

Field Detail

LOCALISER

protected static final Localiser LOCALISER
Constructor Detail

TableMismatchException

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

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


Copyright © -2007 . All Rights Reserved.