ThrowException Method

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
DatabaseException..::.ThrowException Method
DatabaseException Class See Also Send Feedback

Throw an exception which corresponds to the specified Berkeley DB error code.

Namespace: BerkeleyDB
Assembly: libdb_dotnet181 (in libdb_dotnet181.dll) Version: 18.1.32.0

# Syntax

C#
    public static void ThrowException(
    	int err
    )

Visual Basic (Declaration)
    Public Shared Sub ThrowException ( _
    	err As Integer _
    )

Visual C++
    public:
    static void ThrowException(
    	int err
    )

#### Parameters

err
  Type: System..::.Int32
  The Berkeley DB error code

# See Also

DatabaseException Class
BerkeleyDB Namespace