Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[null,null,["Terakhir diperbarui pada 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. |"]]