Added in API level 11
Deprecated in API level 28

InstantiationException


open class InstantiationException : AndroidRuntimeException
kotlin.Any
   ↳ kotlin.Throwable
   ↳ java.lang.Exception
   ↳ java.lang.RuntimeException
   ↳ android.util.AndroidRuntimeException
   ↳ android.app.Fragment.InstantiationException

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

Summary

Public constructors

Public constructors

InstantiationException

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