KeyEmptyException Class

BerkeleyDB

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_dotnet48 (in libdb_dotnet48.dll) Version: 4.8.24.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