Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 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. |"]]