Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

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