Class TooManyForeignKeysException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.datanucleus.exceptions.NucleusException
-
- org.datanucleus.exceptions.NucleusDataStoreException
-
- org.datanucleus.store.rdbms.exceptions.TooManyForeignKeysException
-
- All Implemented Interfaces:
Serializable
public class TooManyForeignKeysException extends org.datanucleus.exceptions.NucleusDataStoreException
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.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TooManyForeignKeysException(DatastoreAdapter dba, 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, setNestedException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
-
-
-
Constructor Detail
-
TooManyForeignKeysException
public TooManyForeignKeysException(DatastoreAdapter dba, String table_name)
Constructs a too-many-foreign-keys exception.- Parameters:
dba
- the database adaptertable_name
- Name of the table with too many FKs
-
-