{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

Fragment.InstantiationException

Added in 1.1.0

public class Fragment.InstantiationException extends RuntimeException

java.lang.Object
   ↳ kotlin.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ androidx.fragment.app.Fragment.InstantiationException

Thrown by instantiate when there is an instantiation failure.

Summary

Public constructors

Inherited fields

From java.lang.Throwable
Throwable
StackTraceElement[]

Inherited methods

From java.lang.Throwable
synchronized final void
synchronized Throwable
synchronized Throwable
String
String
StackTraceElement[]
synchronized final Throwable[]
synchronized Throwable
void
void
setStackTrace(StackTraceElement[] stackTrace)
String

Public constructors

InstantiationException

Added in 1.1.0
public InstantiationException(@NonNull String msg, @Nullable Exception cause)