OnDevicePersonalizationException
public
class
OnDevicePersonalizationException
extends Exception
java.lang.Object | |||
↳ | java.lang.Throwable | ||
↳ | java.lang.Exception | ||
↳ | android.adservices.ondevicepersonalization.OnDevicePersonalizationException |
Exception thrown by OnDevicePersonalization APIs.
Summary
Constants | |
---|---|
int |
ERROR_ISOLATED_SERVICE_FAILED
The |
int |
ERROR_PERSONALIZATION_DISABLED
The |
Public methods | |
---|---|
int
|
getErrorCode()
Returns the error code for this exception. |
Inherited methods | |
---|---|
Constants
ERROR_ISOLATED_SERVICE_FAILED
public static final int ERROR_ISOLATED_SERVICE_FAILED
The IsolatedService
that was invoked failed to run.
Constant Value: 1 (0x00000001)
ERROR_PERSONALIZATION_DISABLED
public static final int ERROR_PERSONALIZATION_DISABLED
The IsolatedService
was not started because personalization is disabled by
device configuration.
Constant Value: 2 (0x00000002)
Public methods
getErrorCode
public int getErrorCode ()
Returns the error code for this exception.
Returns | |
---|---|
int |
Value is ERROR_ISOLATED_SERVICE_FAILED , or ERROR_PERSONALIZATION_DISABLED |