lightbulb_outline Please take our October 2018 developer survey. Start survey
added in version 22.1.0
belongs to Maven artifact com.android.support:support-fragment:28.0.0-alpha1

Fragment.InstantiationException

public static class Fragment.InstantiationException
extends RuntimeException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ android.support.v4.app.Fragment.InstantiationException


Thrown by instantiate(Context, String, Bundle) when there is an instantiation failure.

Summary

Public constructors

Fragment.InstantiationException(String msg, Exception cause)

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Public constructors

Fragment.InstantiationException

added in version 22.1.0
Fragment.InstantiationException (String msg, 
                Exception cause)

Parameters
msg String

cause Exception