Register now for Android Dev Summit 2019!

InstantiationException

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

Thrown by FragmentFactory#instantiate(ClassLoader, String) when there is an instantiation failure.

Summary

Public constructors

<init>(@NonNull msg: String, @Nullable cause: Exception?)

Public constructors

<init>

InstantiationException(@NonNull msg: String, @Nullable cause: Exception?)