Stay organized with collections
Save and categorize content based on your preferences.
InflateException
open class InflateException : RuntimeException
This exception is thrown by an inflater on error conditions.
Summary
Public constructors
InflateException
InflateException()
InflateException
InflateException(detailMessage: String!)
InflateException
InflateException(
detailMessage: String!,
throwable: Throwable!)
InflateException
InflateException(throwable: Throwable!)
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,["# InflateException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nInflateException\n================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/view/InflateException \"View this page in Java\") \n\n```\nopen class InflateException : 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.view.InflateException](#) |\n\nThis exception is thrown by an inflater on error conditions.\n\nSummary\n-------\n\n| Public constructors ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [InflateException](#InflateException())`()` \u003cbr /\u003e |\n| [InflateException](#InflateException(kotlin.String))`(`detailMessage:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` \u003cbr /\u003e |\n| [InflateException](#InflateException(kotlin.String,%20kotlin.Throwable))`(`detailMessage:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`, `throwable:` `[Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)!`)` \u003cbr /\u003e |\n| [InflateException](#InflateException(kotlin.Throwable))`(`throwable:` `[Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)!`)` \u003cbr /\u003e |\n\nPublic constructors\n-------------------\n\n### InflateException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nInflateException()\n``` \n\n### InflateException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nInflateException(detailMessage: String!)\n``` \n\n### InflateException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nInflateException(\n detailMessage: String!, \n throwable: Throwable!)\n``` \n\n### InflateException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nInflateException(throwable: Throwable!)\n```"]]