Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

Fragment.InstantiationException

public static class Fragment.InstantiationException
extends RuntimeException

java.lang.Object
   ↳ java.lang.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

Fragment.InstantiationException(String msg, Exception cause)

Inherited methods

Public constructors

Fragment.InstantiationException

public Fragment.InstantiationException (String msg, 
                Exception cause)

Parameters
msg String

cause Exception