Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[null,null,["Dernière mise à jour le 2025/07/26 (UTC)."],[],["The core content outlines exception classes within the `com.google.android.managementapi.common.exceptions` package. `AmapiSdkException` is the base exception for all SDK-related errors. `ApiLevelException` occurs when the device's API level is insufficient. `InternalException` indicates a failure due to an internal issue, while `InvalidArgumentException` signifies an invalid request argument. These classes provide a structured way to handle errors during interactions with the Android Management API SDK.\n"],null,["# com.google.android.managementapi.common.exceptions\n==================================================\n\n[Kotlin](/android/management/reference/amapi/kotlin/com/google/android/managementapi/common/exceptions/package-summary \"View this page in Kotlin\") \\|Java \n\nExceptions\n----------\n\n|---------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------|\n| [AmapiSdkException](/android/management/reference/amapi/com/google/android/managementapi/common/exceptions/AmapiSdkException) | Base exception for all exceptions thrown by the SDK. |\n| [ApiLevelException](/android/management/reference/amapi/com/google/android/managementapi/common/exceptions/ApiLevelException) | Exception thrown when the API level of the device is lower than the required API level. |\n| [InternalException](/android/management/reference/amapi/com/google/android/managementapi/common/exceptions/InternalException) | Call has failed due to an internal error. |\n| [InvalidArgumentException](/android/management/reference/amapi/com/google/android/managementapi/common/exceptions/InvalidArgumentException) | Exception thrown when the request argument is invalid. |"]]