Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Berkeley DB Java Edition version 4.0.103
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sleepycat.je
Class SecondaryConstraintException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              java.lang.RuntimeException
                  com.sleepycat.je.DatabaseException
                      com.sleepycat.je.OperationFailureException
                          com.sleepycat.je.SecondaryReferenceException
                              com.sleepycat.je.SecondaryConstraintException

All Implemented Interfaces:
  Serializable

Direct Known Subclasses:
  DeleteConstraintException, ForeignConstraintException, UniqueConstraintException

    public abstract class SecondaryConstraintException

extends SecondaryReferenceException

Base class for exceptions thrown when a write operation fails because of a secondary constraint. See subclasses for more information.

The `Transaction` handle is invalidated as a result of this exception.

Since:
  4.0
See Also:
  Special considerations for using Secondary Databases with and without Transactions, Serialized Form

Method Summary

Methods inherited from class com.sleepycat.je.SecondaryReferenceException
`getPrimaryKey, getSecondaryDatabaseName, getSecondaryKey`

Methods inherited from class com.sleepycat.je.DatabaseException
`getMessage`

Methods inherited from class java.lang.Throwable
`fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Berkeley DB Java Edition version 4.0.103
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) 2004-2010 Oracle. All rights reserved.