Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-23 UTC.
[null,null,["Last updated 2025-02-23 UTC."],[[["`DpcMigrationAndroidDevicePolicyNotInstalledException` signals that the Android Device Policy app is not installed on the device."],["This exception is a subclass of `DpcMigrationException` and ultimately inherits from `java.lang.Exception`."],["It is an object declaration in Kotlin, meaning it's a singleton and cannot be instantiated directly."],["This exception is commonly encountered during device policy controller (DPC) migration scenarios."]]],["`DpcMigrationAndroidDevicePolicyNotInstalledException` is a Kotlin object representing an exception that occurs when the Android Device Policy is not installed. This exception inherits from `DpcMigrationException`, which itself inherits from `java.lang.Exception` and `kotlin.Throwable`. The exception indicates that the necessary Android Device Policy is missing. Inherited functionalities include managing the stack trace, handling the cause, and providing localized messages, and methods to access and manage suppressed exceptions.\n"]]