public class POBError
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
INTERNAL_ERROR
Internal error
|
static int |
INTERSTITIAL_ALREADY_SHOWN
Indicates interstitial ad is already show
|
static int |
INTERSTITIAL_NOT_READY
Indicated interstitial ad is not ready to show yet
|
static int |
INVALID_REQUEST
You may not passing mandatory parameters like Publisher ID, Sizes, and other ad tag details.
|
static int |
INVALID_RESPONSE
Invalid ad response.
|
static int |
NETWORK_ERROR
There was an error while retrieving the data from the network.
|
static int |
NO_ADS_AVAILABLE
There was no ads available to deliver for ad request.
|
static int |
OPEN_BID_SIGNALING_ERROR
Ad server SDK sent unexpectd/delayed OpenBid win response
|
static int |
RENDER_ERROR
There was some issue while rendering the creative.
|
static int |
REQUEST_CANCELLED
Ad request gets cancelled.
|
static int |
SERVER_ERROR
Failed to process ad request by Ad Server.
|
static int |
TIMEOUT_ERROR
Ad request was timed out
|
| Constructor and Description |
|---|
POBError(int errorCode,
java.lang.String message) |
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCode()
Returns the integer value of the error code.
|
java.lang.String |
getErrorMessage()
Returns the descriptive message for probable fix
|
void |
setErrorCode(int errorCode)
(Internal for OpenBid SDK)
|
void |
setErrorMessage(java.lang.String errorMessage)
(Internal for OpenBid SDK)
|
java.lang.String |
toString()
Returns the descriptive/string format of current error object.
|
public static final int INVALID_REQUEST
public static final int NO_ADS_AVAILABLE
public static final int NETWORK_ERROR
public static final int SERVER_ERROR
public static final int TIMEOUT_ERROR
public static final int INTERNAL_ERROR
public static final int INVALID_RESPONSE
public static final int REQUEST_CANCELLED
public static final int RENDER_ERROR
public static final int OPEN_BID_SIGNALING_ERROR
public static final int INTERSTITIAL_ALREADY_SHOWN
public static final int INTERSTITIAL_NOT_READY
public int getErrorCode()
public void setErrorCode(int errorCode)
errorCode - error codepublic java.lang.String getErrorMessage()
public void setErrorMessage(java.lang.String errorMessage)
errorMessage - error messagepublic java.lang.String toString()
toString in class java.lang.Object