KeyEmptyException Class

Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++

C#
Visual Basic
Visual C++

Berkeley DB .NET API Documentation
KeyEmptyException Class
Members See Also Send Feedback

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_dotnet53 (in libdb_dotnet53.dll) Version: 5.3.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

KeyEmptyException Members
BerkeleyDB Namespace