使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[],["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. |"]]