| Known Direct Subclasses |
Error information about why an ad operation failed.
| String | UNDEFINED_DOMAIN | The undefined error domain. |
| AdError |
getCause()
Gets the cause of this error or
null if the cause is nonexistent
or unknown.
|
| int |
getCode()
Gets the error's code.
|
| String |
getDomain()
Gets the domain of the error.
|
| String |
getMessage()
Gets the message describing the error.
|
The undefined error domain.
The Google Mobile Ads SDK returns this domain for getDomain()
when converting error information from legacy mediation adapter callbacks like
MediationAdLoadCallback.onFailure(String) to an AdError.
Creates an AdError.
| code | the error code. |
|---|---|
| message | a message detailing the error. |
| domain | the error domain. |
Gets the cause of this error or null if the cause is nonexistent or
unknown.
Gets the error's code.
Gets the domain of the error.
MobileAds.ERROR_DOMAIN
for Google Mobile Ads SDK errors, or a domain defined by mediation networks for
mediation errors.Gets the message describing the error.