class LoadSdkCompatException : Exception


Compat alternative for LoadSdkException. Thrown from SandboxedSdkProviderCompat.onLoadSdk.

See also
LoadSdkException

Summary

Constants

const Int

SDK is already loaded.

const Int

Internal error while loading SDK.

const Int

SDK not found.

const Int

SDK error after being loaded.

const Int

SDK sandbox is disabled.

const Int

Sdk sandbox process is not available.

Public constructors

LoadSdkCompatException(cause: Throwable, extraInfo: Bundle)

Initializes a LoadSdkCompatException with a Throwable and a Bundle.

Public properties

Bundle

Extra error information this exception was constructed with.

Int

Result code this exception was constructed with.

Inherited properties

From kotlin.Throwable

Constants

LOAD_SDK_ALREADY_LOADED

const val LOAD_SDK_ALREADY_LOADED = 101: Int

SDK is already loaded.

This indicates that client application tried to reload the same SDK after being successfully loaded.

LOAD_SDK_INTERNAL_ERROR

const val LOAD_SDK_INTERNAL_ERROR = 500: Int

Internal error while loading SDK.

This indicates a generic internal error happened while applying the call from client application.

LOAD_SDK_NOT_FOUND

const val LOAD_SDK_NOT_FOUND = 100: Int

SDK not found.

This indicates that client application tried to load a non-existing SDK.

LOAD_SDK_SDK_DEFINED_ERROR

const val LOAD_SDK_SDK_DEFINED_ERROR = 102: Int

SDK error after being loaded.

This indicates that the SDK encountered an error during post-load initialization. The details of this can be obtained from the Bundle returned in LoadSdkCompatException.

LOAD_SDK_SDK_SANDBOX_DISABLED

const val LOAD_SDK_SDK_SANDBOX_DISABLED = 103: Int

SDK sandbox is disabled.

This indicates that the SDK sandbox is disabled. Any subsequent attempts to load SDKs in this boot will also fail.

SDK_SANDBOX_PROCESS_NOT_AVAILABLE

const val SDK_SANDBOX_PROCESS_NOT_AVAILABLE = 503: Int

Sdk sandbox process is not available.

This indicates that the sdk sandbox process is not available, either because it has died, disconnected or was not created in the first place.

Public constructors

LoadSdkCompatException

Added in 1.0.0-alpha13
LoadSdkCompatException(cause: Throwable, extraInfo: Bundle)

Initializes a LoadSdkCompatException with a Throwable and a Bundle.

Parameters
cause: Throwable

The cause of the exception.

extraInfo: Bundle

Extra error information. This is empty if there is no such information.

Public properties

extraInformation

Added in 1.0.0-alpha13
val extraInformationBundle

Extra error information this exception was constructed with.

loadSdkErrorCode

Added in 1.0.0-alpha13
val loadSdkErrorCodeInt

Result code this exception was constructed with.