Table of Contents

Class AkavacheSqliteException

Namespace
Akavache
Assembly
Akavache.dll

Raised when a native SQLite call returns a non-success result code. Carries the raw sqlite3 return code so callers can distinguish specific failures (missing-table / missing-column errors, bad encryption key, etc.) from generic ones.

public sealed class AkavacheSqliteException : Exception, ISerializable
Inheritance
AkavacheSqliteException
Implements
Inherited Members
Extension Methods

Constructors

AkavacheSqliteException()

Initializes a new instance of the AkavacheSqliteException class.

public AkavacheSqliteException()

AkavacheSqliteException(int, string)

Initializes a new instance of the AkavacheSqliteException class.

public AkavacheSqliteException(int resultCode, string message)

Parameters

resultCode int

The raw sqlite3 return code.

message string

A human-readable description of the failure.

AkavacheSqliteException(string)

Initializes a new instance of the AkavacheSqliteException class.

public AkavacheSqliteException(string message)

Parameters

message string

A human-readable description of the failure.

AkavacheSqliteException(string, Exception)

Initializes a new instance of the AkavacheSqliteException class.

public AkavacheSqliteException(string message, Exception innerException)

Parameters

message string

A human-readable description of the failure.

innerException Exception

The exception that caused the failure.

Properties

ResultCode

Gets the raw sqlite3 return code (e.g. SQLITE_ERROR, SQLITE_BUSY).

public int ResultCode { get; }

Property Value

int