Class TooManyForeignKeysException

  • All Implemented Interfaces:
    java.io.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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TooManyForeignKeysException

        public TooManyForeignKeysException​(DatastoreAdapter 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