DatabaseEncryptionException class
Thrown when an encrypted database can't be opened with its password.
It's a DatabaseException like the exception of SQLite causing it.
- Implemented types
Constructors
- DatabaseEncryptionException(String message, [Object? cause])
Properties
- cause → Object?
-
The exception of SQLite causing it, if any.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
final
- result → Object?
-
Platform specific error result.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getResultCode(
) → int? - Extended result code on Android/ffi, normal result code on iOS.
-
isDatabaseClosedError(
) → bool -
True if the exception is a database closed error
inherited
-
isDuplicateColumnError(
[String? column]) → bool -
True if the exception is a duplicate column error
inherited
-
isNoSuchTableError(
[String? table]) → bool -
True if the exception is a no such table exception
inherited
-
isNotNullConstraintError(
[String? field]) → bool -
True if the exception is a not null constraint error
inherited
-
isOpenFailedError(
) → bool -
True if the exception is an open failed error
inherited
-
isReadOnlyError(
) → bool -
True if the exception is a read-only error
inherited
-
isSyntaxError(
) → bool -
True if the exception is a syntax error
inherited
-
isUniqueConstraintError(
[String? field]) → bool -
True if the exception is a unique constraint error
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String - A string representation of this object.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited