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
resultCodeintThe raw sqlite3 return code.
messagestringA human-readable description of the failure.
AkavacheSqliteException(string)
Initializes a new instance of the AkavacheSqliteException class.
public AkavacheSqliteException(string message)
Parameters
messagestringA human-readable description of the failure.
AkavacheSqliteException(string, Exception)
Initializes a new instance of the AkavacheSqliteException class.
public AkavacheSqliteException(string message, Exception innerException)
Parameters
messagestringA human-readable description of the failure.
innerExceptionExceptionThe exception that caused the failure.
Properties
ResultCode
Gets the raw sqlite3 return code (e.g. SQLITE_ERROR, SQLITE_BUSY).
public int ResultCode { get; }