# InflateException

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# InflateException

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/view/InflateException "View this page in Java")  

```
open class InflateException : RuntimeException
```

|---|---|---|---|----------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                          |||||
| ↳ | [kotlin.Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)                           ||||
|   | ↳ | [java.lang.Exception](https://developer.android.com/reference/kotlin/java/lang/Exception.html#)                      |||
|   |   | ↳ | [java.lang.RuntimeException](https://developer.android.com/reference/kotlin/java/lang/RuntimeException.html#)     ||
|   |   |   | ↳ | [android.view.InflateException](https://developer.android.com/reference/kotlin/android/view/InflateException#) |

This exception is thrown by an inflater on error conditions.

## Summary

|                                                                                                                                                                              Public constructors                                                                                                                                                                               ||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [InflateException](https://developer.android.com/reference/kotlin/android/view/InflateException#InflateException())`()` <br />                                                                                                                                                                                                                                              |
| [InflateException](https://developer.android.com/reference/kotlin/android/view/InflateException#InflateException(kotlin.String))`(`detailMessage:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` <br />                                                                                                                             |
| [InflateException](https://developer.android.com/reference/kotlin/android/view/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)!`)` <br /> |
| [InflateException](https://developer.android.com/reference/kotlin/android/view/InflateException#InflateException(kotlin.Throwable))`(`throwable:` `[Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)!`)` <br />                                                                                                                        |

## Public constructors

### InflateException

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
InflateException()
```  

### InflateException

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
InflateException(detailMessage: String!)
```  

### InflateException

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
InflateException(
    detailMessage: String!, 
    throwable: Throwable!)
```  

### InflateException

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
InflateException(throwable: Throwable!)
```