|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.datanucleus.exceptions.NucleusException
org.datanucleus.exceptions.NucleusDataStoreException
org.datanucleus.store.mapped.exceptions.TooManyForeignKeysException
public class TooManyForeignKeysException
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.
| Field Summary | |
|---|---|
protected static Localiser |
LOCALISER
|
| Constructor Summary | |
|---|---|
TooManyForeignKeysException(DatastoreAdapter dba,
java.lang.String table_name)
Constructs a too-many-foreign-keys 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 TooManyForeignKeysException(DatastoreAdapter dba,
java.lang.String table_name)
dba - the database adaptertable_name - Name of the table with too many FKs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||