Added in API level 1

SQLException


open class SQLException : RuntimeException
SQLiteException

A SQLite exception that indicates there was an error with SQL parsing or execution.

SQLiteAbortException

An exception that indicates that the SQLite program was aborted.

SQLiteAccessPermException

This exception class is used when sqlite can't access the database file due to lack of permissions on the file.

SQLiteBindOrColumnIndexOutOfRangeException

Thrown if the bind or column parameter index is out of range.

SQLiteBlobTooBigException

SQLiteCantOpenDatabaseException

SQLiteConstraintException

An exception that indicates that an integrity constraint was violated.

SQLiteDatabaseCorruptException

An exception that indicates that the SQLite database file is corrupt.

SQLiteDatabaseLockedException

Thrown if the database engine was unable to acquire the database locks it needs to do its job.

SQLiteDatatypeMismatchException

SQLiteDiskIOException

Indicates that an IO error occurred while accessing the SQLite database file.

SQLiteDoneException

An exception that indicates that the SQLite program is done.

SQLiteFullException

An exception that indicates that the SQLite database is full.

SQLiteMisuseException

This error can occur if the application creates a SQLiteStatement object and allows multiple threads in the application use it at the same time.

SQLiteOutOfMemoryException

SQLiteReadOnlyDatabaseException

SQLiteTableLockedException

An exception that indicates there was an error with SQL parsing or execution.

Summary

Public constructors

SQLException(error: String!, cause: Throwable!)

Public constructors

SQLException

Added in API level 1
SQLException()

SQLException

Added in API level 1
SQLException(error: String!)

SQLException

Added in API level 16
SQLException(
    error: String!,
    cause: Throwable!)