Google 致力于为黑人社区推动种族平等。查看具体举措

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

InstantiationException(String msg, Exception cause)

Inherited methods

Public constructors

InstantiationException

public InstantiationException (String msg, 
                Exception cause)

Parameters
msg String

cause Exception