WindowManager.BadTokenException | API reference | Android Developers (original) (raw)
open class BadTokenException : RuntimeException
kotlin.Any | |||
---|---|---|---|
↳ | kotlin.Throwable | ||
↳ | java.lang.Exception | ||
↳ | java.lang.RuntimeException | ||
↳ |
Exception that is thrown when trying to add view whose [LayoutParams](/reference/kotlin/android/view/WindowManager.LayoutParams)
[LayoutParams.token](/reference/kotlin/android/view/WindowManager.LayoutParams#token:android.os.IBinder)
is invalid.
Summary
Public constructors |
---|
BadTokenException() |
BadTokenException(name: String!) |
Public constructors
BadTokenException
BadTokenException()
BadTokenException
BadTokenException(name: String!)
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.