org.datanucleus.store.mapped.exceptions
Class TooManyIndicesException

java.lang.Object
  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 org.datanucleus.store.mapped.exceptions.TooManyIndicesException
All Implemented Interfaces:
java.io.Serializable

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

LOCALISER

protected static final Localiser LOCALISER
Constructor Detail

TooManyIndicesException

public TooManyIndicesException(DatastoreAdapter dba,
                               java.lang.String tableName)
Constructs a too-many-indices exception.

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


Copyright © 2010. All Rights Reserved.