public final class AdRequestError
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AdRequestError.Code
Error codes to explain the main cause.
|
| Constructor and Description |
|---|
AdRequestError(int code,
java.lang.String description) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Returns an error code from the
AdRequestError.Code. |
java.lang.String |
getDescription()
Returns an error description.
|
java.lang.String |
toString() |
public AdRequestError(int code,
@Nullable
java.lang.String description)
public int getCode()
AdRequestError.Code.@NonNull public java.lang.String getDescription()
@NonNull public java.lang.String toString()
toString in class java.lang.Object