AmapiSdkException

public class AmapiSdkException extends 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(
    @NonNull String message,
    Throwable cause,
    String requestId
)

Public constructors

AmapiSdkException

public AmapiSdkException(@NonNull String message, Throwable cause)

AmapiSdkException

public AmapiSdkException(
    @NonNull String message,
    Throwable cause,
    String requestId
)
Parameters
@NonNull String message

the message to be displayed to the user

Throwable cause

the underlying cause of the exception

String requestId

the ID of the request during which the exception occurred