The Wayback Machine - https://web.archive.org/web/20230208230451/https://developer.android.com/reference/android/database/sqlite/SQLiteDatabaseLockedException
Stay organized with collections
Save and categorize content based on your preferences.
Thrown if the database engine was unable to acquire the
database locks it needs to do its job. If the statement is a [COMMIT]
or occurs outside of an explicit transaction, then you can retry the
statement. If the statement is not a [COMMIT] and occurs within a
explicit transaction then you should rollback the transaction before
continuing.
Returns an array containing all of the exceptions that were
suppressed, typically by the try-with-resources
statement, in order to deliver this exception.
Causes the current thread to wait until it is awakened, typically
by being notified or interrupted, or until a
certain amount of real time has elapsed.
Causes the current thread to wait until it is awakened, typically
by being notified or interrupted, or until a
certain amount of real time has elapsed.
Causes the current thread to wait until it is awakened, typically
by being notified or interrupted.
Public constructors
SQLiteDatabaseLockedException
public SQLiteDatabaseLockedException ()
SQLiteDatabaseLockedException
public SQLiteDatabaseLockedException (String error)
Parameters
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 2023-02-08 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]