API 级别 34 中添加
也在广告服务扩展 4 中添加

AdServicesException

public class AdServicesException
extends Exception

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ android.adservices.exceptions.AdServicesException


AdServices 抛出的异常。

摘要

公共构造函数

AdServicesException(String message, Throwable e)
AdServicesException(String message)

继承的方法

公共构造函数

AdServicesException

API 级别 34 中添加
也在广告服务扩展 4 中添加
public AdServicesException (String message, 
                Throwable e)

参数
message String:此值可以为 null

e Throwable:此值可以为 null

AdServicesException

API 级别 34 中添加
也在广告服务扩展 4 中添加
public AdServicesException (String message)

参数
message String:此值可以为 null