com.sleepycat.bdb
Class IntegrityConstraintException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--com.sleepycat.bdb.IntegrityConstraintException
- All Implemented Interfaces:
- Serializable
- public class IntegrityConstraintException
- extends 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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
IntegrityConstraintException
public IntegrityConstraintException(String msg)
- Creates an integrity constraint exception.
Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.