Stay organized with collections
Save and categorize content based on your preferences.
SQLiteAccessPermException
open class SQLiteAccessPermException : SQLiteException
This exception class is used when sqlite can't access the database file due to lack of permissions on the file.
Summary
Public constructors
SQLiteAccessPermException
SQLiteAccessPermException()
SQLiteAccessPermException
SQLiteAccessPermException(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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# SQLiteAccessPermException\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nSQLiteAccessPermException\n=========================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/database/sqlite/SQLiteAccessPermException \"View this page in Java\") \n\n```\nopen class SQLiteAccessPermException : SQLiteException\n```\n\n|---|---|---|---|---|---|--------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||||||\n| ↳ | [kotlin.Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html) ||||||\n| | ↳ | [java.lang.Exception](../../../java/lang/Exception.html#) |||||\n| | | ↳ | [java.lang.RuntimeException](../../../java/lang/RuntimeException.html#) ||||\n| | | | ↳ | [android.database.SQLException](../SQLException.html#) |||\n| | | | | ↳ | [android.database.sqlite.SQLiteException](/reference/kotlin/android/database/sqlite/SQLiteException) ||\n| | | | | | ↳ | [android.database.sqlite.SQLiteAccessPermException](#) |\n\nThis exception class is used when sqlite can't access the database file due to lack of permissions on the file.\n\nSummary\n-------\n\n| Public constructors ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [SQLiteAccessPermException](#SQLiteAccessPermException())`()` \u003cbr /\u003e |\n| [SQLiteAccessPermException](#SQLiteAccessPermException(kotlin.String))`(`error:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` \u003cbr /\u003e |\n\nPublic constructors\n-------------------\n\n### SQLiteAccessPermException\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nSQLiteAccessPermException()\n``` \n\n### SQLiteAccessPermException\n\nAdded in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nSQLiteAccessPermException(error: String!)\n```"]]