com.sleepycat.bdb
Class IntegrityConstraintException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.sleepycat.bdb.IntegrityConstraintException
All Implemented Interfaces:
java.io.Serializable

public class IntegrityConstraintException
extends java.lang.RuntimeException

Thrown when an integrity constraint violation occurs. This normally occurs when an attempt is made to delete a store element, and the primary key of that element is referenced by a foreign key index with a ON_DELETE_ABORT delete action. It may also occur when an internal index inconsistency is detected, in processing a ForeignKeyIndex or a DataIndex.

See Also:
ForeignKeyIndex, Serialized Form

Constructor Summary
IntegrityConstraintException(java.lang.String msg)
          Creates an integrity constraint exception.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntegrityConstraintException

public IntegrityConstraintException(java.lang.String msg)
Creates an integrity constraint exception.