AmapiSdkException

open class AmapiSdkException : Exception

Known direct subclasses
ApiLevelException

Exception thrown when the API level of the device is lower than the required API level.

EnvironmentNotPreparedException

Exception thrown when the environment is not prepared for the API call.

InternalException

Call has failed due to an internal error.

InvalidArgumentException

Exception thrown when the request argument is invalid.

Known indirect subclasses
AndroidDevicePolicyAppDisabledException

Exception thrown when the Android Device Policy app is disabled on the device.

AndroidDevicePolicyAppNotInstalledException

Exception thrown when the Android Device Policy app is not installed on the device.

AndroidDevicePolicyAppNotUpdatedException

Exception thrown when the Android Device Policy app is not up to date.

AndroidDevicePolicyInstallConsentDeclinedException

Exception thrown when the Android Device Policy install consent is declined.

AndroidDevicePolicyInstallConsentDismissedException

Exception thrown when the Android Device Policy install consent is dismissed.

AndroidDevicePolicyInstallOrUpdateRecoverableException

Exception thrown when the Android Device Policy app is not installed or not up to date.

AndroidDevicePolicyInstallOrUpdateUnrecoverableException

Exception thrown when the Android Device Policy app is not installed or not up to date.

EnvironmentNotReadyException

Exception thrown when the environment is not ready for the API call.

GooglePlayServicesAppNotUpdatedException

Exception thrown when the Google Play Services app is not up to date.

PlayStoreUpdateUnrecoverableException

Exception thrown when the Google Play Store update failed.


Base exception for all exceptions thrown by the SDK.

Summary

Public constructors

AmapiSdkException(message: String, cause: Throwable?)
AmapiSdkException(message: String, cause: Throwable?, requestId: String?)

Inherited properties

From kotlin.Throwable

Public constructors

AmapiSdkException

AmapiSdkException(message: String, cause: Throwable?)

AmapiSdkException

AmapiSdkException(
    message: String,
    cause: Throwable? = null,
    requestId: String? = null
)
Parameters
message: String

the message to be displayed to the user

cause: Throwable? = null

the underlying cause of the exception

requestId: String? = null

the ID of the request during which the exception occurred