Added in API level 1

WindowManager.BadTokenException


public static class WindowManager.BadTokenException
extends RuntimeException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ android.view.WindowManager.BadTokenException


Exception that is thrown when trying to add view whose LayoutParams LayoutParams#token is invalid.

Summary

Public constructors

BadTokenException()
BadTokenException(String name)

Inherited methods

Public constructors

BadTokenException

Added in API level 1
public BadTokenException ()

BadTokenException

Added in API level 1
public BadTokenException (String name)

Parameters
name String