{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

Fragment.InstantiationException

class Fragment.InstantiationException : RuntimeException

kotlin.Any
   ↳ kotlin.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ androidx.fragment.app.Fragment.InstantiationException

Thrown by instantiate when there is an instantiation failure.

Summary

Public constructors

Inherited functions

From java.lang.Throwable

Inherited properties

From java.lang.Throwable

Public constructors

InstantiationException

InstantiationException(msg: String, cause: Exception?)