com.triactive.jdo.store.sql
Class MissingForeignKeysException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.jdo.JDOException
                  extended byjavax.jdo.JDOCanRetryException
                      extended byjavax.jdo.JDODataStoreException
                          extended bycom.triactive.jdo.store.SchemaValidationException
                              extended bycom.triactive.jdo.store.sql.MissingForeignKeysException
All Implemented Interfaces:
java.io.Serializable

public class MissingForeignKeysException
extends SchemaValidationException

A MissingForeignKeysException is thrown if an expected foreign key is not found in the database during schema validation.

Author:
Mike Martin
See Also:
Table, Serialized Form

Constructor Summary
MissingForeignKeysException(Table table, java.util.Collection stmts)
          Constructs a missing foreign key(s) exception.
 
Methods inherited from class com.triactive.jdo.store.SchemaValidationException
toString
 
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

MissingForeignKeysException

public MissingForeignKeysException(Table table,
                                   java.util.Collection stmts)
Constructs a missing foreign key(s) exception.

Parameters:
table - The table in which foeign key(s) were missing.
stmts - The statements that would be used to create the missing keys.


Copyright 2001-2007 The TJDO Project All Rights Reserved.