org.jpox.store.rdbms.exceptions
Class TooManyForeignKeysException

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.JDOFatalDataStoreException
                          extended byorg.jpox.store.rdbms.exceptions.TooManyForeignKeysException
All Implemented Interfaces:
java.io.Serializable

public class TooManyForeignKeysException
extends javax.jdo.JDOFatalDataStoreException

A TooManyForeignKeysException is thrown when trying to add a foreign key to a table and the table already has the maximum allowed number of foreign keys.

Version:
$Revision: 1.1 $
See Also:
Serialized Form

Field Summary
protected static Localiser LOCALISER
           
 
Constructor Summary
TooManyForeignKeysException(RDBMSAdapter dba, java.lang.String table_name)
          Constructs a too-many-foreign-keys 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

TooManyForeignKeysException

public TooManyForeignKeysException(RDBMSAdapter dba,
                                   java.lang.String table_name)
Constructs a too-many-foreign-keys exception.

Parameters:
dba - the database adapter
table_name - Name of the table with too many FKs


Copyright © -2007 . All Rights Reserved.