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

Fragment.InstantiationException

{% setvar page_path %}androidx/fragment/app/Fragment.InstantiationException.html{% endsetvar %} {% setvar can_switch %}1{% endsetvar %} {% include "reference/_java_switcher2.md" %}

public class Fragment.InstantiationException


Thrown by FragmentFactory#instantiate(ClassLoader, String) when there is an instantiation failure.

Summary

Public constructors

Inherited methods

From class Throwable

Public constructors

InstantiationException

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