The requested key/data pair logically exists but was never explicitly created by the application, or that the requested key/data pair was deleted and never re-created. In addition, the Queue access method will throw a KeyEmptyException for records that were created as part of a transaction that was later aborted and never re-created.

Namespace:  BerkeleyDB
Assembly:  libdb_dotnet52 (in libdb_dotnet52.dll) Version: 5.2.28.0

Syntax

C#
public class KeyEmptyException : DatabaseException
Visual Basic (Declaration)
Public Class KeyEmptyException _
	Inherits DatabaseException
Visual C++
public ref class KeyEmptyException : public DatabaseException

Remarks

The Recno and Queue access methods will automatically create key/data pairs under some circumstances.

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    BerkeleyDB..::.DatabaseException
      BerkeleyDB..::.KeyEmptyException

See Also