Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-07-26 (UTC)
[null,null,["Última actualización: 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. |"]]