Stay organized with collections
Save and categorize content based on your preferences.
CursorWindowAllocationException
open class CursorWindowAllocationException : RuntimeException
This exception is thrown when a CursorWindow couldn't be allocated, most probably due to memory not being available.
Summary
Public constructors
CursorWindowAllocationException
CursorWindowAllocationException(description: String)
Parameters |
description |
String: This value cannot be null . |
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.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# CursorWindowAllocationException\n\nAdded in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nCursorWindowAllocationException\n===============================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/database/CursorWindowAllocationException \"View this page in Java\") \n\n```\nopen class CursorWindowAllocationException : RuntimeException\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.CursorWindowAllocationException](#) |\n\nThis exception is thrown when a CursorWindow couldn't be allocated, most probably due to memory not being available.\n\nSummary\n-------\n\n| Public constructors ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [CursorWindowAllocationException](#CursorWindowAllocationException(kotlin.String))`(`description:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)` \u003cbr /\u003e |\n\nPublic constructors\n-------------------\n\n### CursorWindowAllocationException\n\nAdded in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nCursorWindowAllocationException(description: String)\n```\n\n| Parameters ||\n|---------------|----------------------------------------------------------------------------------------------------------------|\n| `description` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html): This value cannot be `null`. |"]]