object DpcMigrationManagementModeMismatchException : DpcMigrationException
The management mode of the device does not match what is specified in the migration token.
Summary
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."],[[["`DpcMigrationManagementModeMismatchException` signals that the device's management mode doesn't align with the migration token."],["It's a subclass of `DpcMigrationException`, indicating an issue during device policy controller (DPC) migration."],["This exception is thrown when the management mode specified in the migration token is different from the current management mode of the device."]]],["`DpcMigrationManagementModeMismatchException` is a specific type of `DpcMigrationException` in Kotlin, indicating a mismatch between the device's management mode and the mode specified in the migration token. It inherits from `Throwable` and `Exception`, providing standard exception functionalities. When this exception occurs it means that the management mode of the device is not the expected one. It also includes various methods like adding, getting suppressed exceptions, stack trace management and other functionalities from `kotlin.Throwable`.\n"]]