Class TooManyIndicesException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.datanucleus.exceptions.NucleusException
                  extended by org.datanucleus.exceptions.NucleusDataStoreException
                      extended by
All Implemented Interfaces:

public class TooManyIndicesException
extends NucleusDataStoreException

A TooManyIndicesException is thrown when trying to add an index to a table and the table already has the maximum allowed number of indices.

See Also:
Serialized Form

Field Summary
protected static Localiser LOCALISER
Constructor Summary
TooManyIndicesException(DatastoreAdapter dba, java.lang.String tableName)
          Constructs a too-many-indices 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 TooManyIndicesException(DatastoreAdapter dba,
                               java.lang.String tableName)
Constructs a too-many-indices exception.

dba - the database adapter
tableName - Name of the table with too many indices

Copyright © 2011. All Rights Reserved.