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 IsolatedService that was invoked failed to run.

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)

Public methods

getErrorCode

public int getErrorCode ()

Returns the error code for this exception.

Returns
int Value is ERROR_ISOLATED_SERVICE_FAILED, or android.adservices.ondevicepersonalization.OnDevicePersonalizationException.ERROR_PERSONALIZATION_DISABLED