Stay organized with collections
Save and categorize content based on your preferences.
CursorIndexOutOfBoundsException
open class CursorIndexOutOfBoundsException : IndexOutOfBoundsException
An exception indicating that a cursor is out of bounds.
Summary
Public constructors
CursorIndexOutOfBoundsException
CursorIndexOutOfBoundsException(
index: Int,
size: Int)
CursorIndexOutOfBoundsException
CursorIndexOutOfBoundsException(message: 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.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# CursorIndexOutOfBoundsException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nCursorIndexOutOfBoundsException\n===============================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/database/CursorIndexOutOfBoundsException \"View this page in Java\") \n\n```\nopen class CursorIndexOutOfBoundsException : IndexOutOfBoundsException\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| | | | ↳ | [java.lang.IndexOutOfBoundsException](../../java/lang/IndexOutOfBoundsException.html#) ||\n| | | | | ↳ | [android.database.CursorIndexOutOfBoundsException](#) |\n\nAn exception indicating that a cursor is out of bounds.\n\nSummary\n-------\n\n| Public constructors ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [CursorIndexOutOfBoundsException](#CursorIndexOutOfBoundsException(kotlin.Int,%20kotlin.Int))`(`index:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, `size:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` \u003cbr /\u003e |\n| [CursorIndexOutOfBoundsException](#CursorIndexOutOfBoundsException(kotlin.String))`(`message:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` \u003cbr /\u003e |\n\nPublic constructors\n-------------------\n\n### CursorIndexOutOfBoundsException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nCursorIndexOutOfBoundsException(\n index: Int, \n size: Int)\n``` \n\n### CursorIndexOutOfBoundsException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nCursorIndexOutOfBoundsException(message: String!)\n```"]]