object DpcMigrationTokenParseException : DpcMigrationException
The migration token could not be parsed.
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."],[[["`DpcMigrationTokenParseException` is a type of `DpcMigrationException` indicating an issue with parsing the migration token."],["It's part of the Android Management API and signifies that the provided migration token is invalid or unreadable."],["This exception is thrown when the system cannot properly interpret the migration token during device policy migration."],["Developers should handle this exception gracefully, potentially by prompting the user to provide a valid token or taking alternative migration steps."]]],["`DpcMigrationTokenParseException` is a Kotlin object representing an exception thrown when a migration token cannot be parsed. This exception inherits from `DpcMigrationException`, `Exception`, and `Throwable`. Key actions associated with this object involve the handling of errors during migration token parsing. It provides inherited functions and properties from `Throwable`, including methods to manage stack traces, handle suppressed exceptions, and obtain error messages. In essence, it signals a failure in processing the migration token.\n"]]