Added in API level 11
Deprecated in API level 28

Fragment.InstantiationException


public static class Fragment.InstantiationException
extends AndroidRuntimeException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ android.util.AndroidRuntimeException
           ↳ android.app.Fragment.InstantiationException


This class was deprecated in API level 28.
Use Fragment.InstantiationException

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

Summary

Public constructors

InstantiationException(String msg, Exception cause)

Inherited methods

Public constructors

InstantiationException

Added in API level 11
public InstantiationException (String msg, 
                Exception cause)

Parameters
msg String

cause Exception