SQLiteException | API reference | Android Developers (original) (raw)
open class SQLiteException : SQLException
kotlin.Any | ||||
---|---|---|---|---|
↳ | kotlin.Throwable | |||
↳ | java.lang.Exception | |||
↳ | java.lang.RuntimeException | |||
↳ | android.database.SQLException | |||
↳ |
Known Direct Subclasses
SQLiteAbortException, SQLiteAccessPermException, SQLiteBindOrColumnIndexOutOfRangeException, SQLiteBlobTooBigException, SQLiteCantOpenDatabaseException, SQLiteConstraintException, SQLiteDatabaseCorruptException, SQLiteDatabaseLockedException, SQLiteDatatypeMismatchException, SQLiteDiskIOException, SQLiteDoneException, SQLiteFullException, and 4 others.
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 |
A SQLite exception that indicates there was an error with SQL parsing or execution.
Summary
Public constructors |
---|
SQLiteException() |
SQLiteException(error: String!) |
SQLiteException(error: String!, cause: Throwable!) |
Public constructors
SQLiteException
SQLiteException()
SQLiteException
SQLiteException(error: String!)
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.