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

LifecycleDestroyedException

class LifecycleDestroyedException : CancellationException

kotlin.Any
   ↳ kotlin.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ java.lang.IllegalStateException
           ↳ java.util.concurrent.CancellationException
             ↳ androidx.lifecycle.LifecycleDestroyedException

A CancellationException that indicates that the Lifecycle associated with an operation reached the Lifecycle.State.DESTROYED state before the operation could complete.

Summary

Public constructors

Inherited functions

From kotlin.Throwable

Inherited properties

From kotlin.Throwable

Public constructors

LifecycleDestroyedException

LifecycleDestroyedException()