public final class AdInspectorError extends AdError
Error information about why the ad inspector failed.
Nested Class Summary
@interface | AdInspectorError.AdInspectorErrorCode | Constants supported by
AdInspectorError . |
Constant Summary
int | ERROR_CODE_ALREADY_OPEN | Ad inspector cannot be opened because it is already open. |
int | ERROR_CODE_FAILED_TO_LOAD | Ad inspector failed to load. |
int | ERROR_CODE_INTERNAL_ERROR | Ad inspector had an internal error. |
int | ERROR_CODE_NOT_IN_TEST_MODE | Ad inspector cannot be opened because the device is not in test mode. |
Inherited Constant Summary
Public Constructor Summary
Public Method Summary
int |
getCode()
Gets the error's code.
|
Inherited Method Summary
Constants
public static final int ERROR_CODE_ALREADY_OPEN
Ad inspector cannot be opened because it is already open.
Constant Value: 3
public static final int ERROR_CODE_FAILED_TO_LOAD
Ad inspector failed to load.
Constant Value: 1
public static final int ERROR_CODE_INTERNAL_ERROR
Ad inspector had an internal error.
Constant Value: 0
public static final int ERROR_CODE_NOT_IN_TEST_MODE
Ad inspector cannot be opened because the device is not in test mode. See //developers.google.com/admob/android/test-ads#enable_test_devices for more information.
Constant Value: 2
Public Constructors
public AdInspectorError (int code, String message, String domain)
Creates an AdInspectorError
.
Parameters
code | the error code. |
---|---|
message | a message detailing the error. |
domain | the error domain. |
Public Methods
public int getCode ()
Gets the error's code.