public class POBVastError
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
AD_DISPLAY_TIMEOUT
InLine response returned ad unit that failed to result in ad display within defined time limit.
|
static int |
COMPANION_AD_DISPLAY_ERROR
Unable to display required Companion.
|
static int |
GENERAL_COMPANION_AD_ERROR
General CompanionAds error.
|
static int |
GENERAL_LINEAR_ERROR
General Linear error.
|
static int |
GENERAL_NONLINEAR_AD_ERROR
General NonLinearAds error.
|
static int |
GENERAL_WRAPPER_ERROR
General Wrapper error.
|
static int |
INCORRECT_DURATION
Media player expecting different duration.
|
static int |
INCORRECT_LINEARITY
Media player expecting different linearity.
|
static int |
INCORRECT_SIZE
Media player expecting different size.
|
static int |
MEDIA_FILE_DISPLAY_ERROR
Problem displaying MediaFile.
|
static int |
MEDIA_FILE_NOT_FOUND
File not found.
|
static int |
MEDIA_FILE_TIMEOUT
Timeout of MediaFile URI.
|
static int |
MISSING_AD_CATEGORY
Ad category was required but not provided.
|
static int |
NO_COMPANION_AD_ERROR
Unable to fetch CompanionAds/Companion resource.
|
static int |
NO_NONLINEAR_AD
Unable to fetch NonLinearAds/NonLinear resource.
|
static int |
NO_SUPPORTED_COMPANION_AD_RESOURCE
Couldn't find Companion resource with supported type.
|
static int |
NO_SUPPORTED_MEDIA_FILE
Couldn't find MediaFile that is supported by this media player, based on the attributes of the
MediaFile element.
|
static int |
NO_SUPPORTED_NONLINEAR_RESOURCE
Couldn't find NonLinear resource with supported type.
|
static int |
NO_VAST_RESPONSE
No VAST response after one or more Wrappers.
|
static int |
RECEIVED_BLOCKED_AD_CATEGORIES
Inline Category violates Wrapper BlockedAdCategories
|
static int |
SCHEMA_VALIDATION_ERROR
VAST schema validation error.
|
static int |
TRAFFICKING_ERROR
Trafficking error.
|
static int |
UNDEFINED_ERROR
Undefined Error.
|
static int |
UNSUPPORTED_COMPANION_AD
Unable to display Companion because creative dimensions do not fit within Companion display area
(i.e., no available space).
|
static int |
UNSUPPORTED_NONLINEAR_AD
Unable to display NonLinearAd because creative dimensions do not align with creative display area
(i.e.
|
static int |
UNSUPPORTED_VAST_VERSION
Indicated vast parsing attempts has exceeded its upper limit
|
static int |
VERIFICATION_EXECUTION_ERROR
Verification unit in the Verification node was not executed.
|
static int |
WRAPPER_THRESHOLD
Wrapper limit reached, as defined by the media player.
|
static int |
WRAPPER_TIMEOUT
Timeout of VAST URI provided in Wrapper element, or of VAST URI provided in a subsequent
Wrapper element.
|
static int |
XML_PARSING_ERROR
XML parsing error.
|
| Constructor and Description |
|---|
POBVastError(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 OpenWrap SDK)
|
void |
setErrorMessage(java.lang.String errorMessage)
(Internal for OpenWrap SDK)
|
java.lang.String |
toString()
Returns the descriptive/string format of current error object.
|
public static final int XML_PARSING_ERROR
public static final int SCHEMA_VALIDATION_ERROR
public static final int UNSUPPORTED_VAST_VERSION
public static final int TRAFFICKING_ERROR
public static final int INCORRECT_LINEARITY
public static final int INCORRECT_DURATION
public static final int INCORRECT_SIZE
public static final int MISSING_AD_CATEGORY
public static final int RECEIVED_BLOCKED_AD_CATEGORIES
public static final int GENERAL_WRAPPER_ERROR
public static final int WRAPPER_TIMEOUT
public static final int WRAPPER_THRESHOLD
public static final int NO_VAST_RESPONSE
public static final int AD_DISPLAY_TIMEOUT
public static final int GENERAL_LINEAR_ERROR
public static final int MEDIA_FILE_NOT_FOUND
public static final int MEDIA_FILE_TIMEOUT
public static final int NO_SUPPORTED_MEDIA_FILE
public static final int MEDIA_FILE_DISPLAY_ERROR
public static final int VERIFICATION_EXECUTION_ERROR
public static final int GENERAL_NONLINEAR_AD_ERROR
public static final int UNSUPPORTED_NONLINEAR_AD
public static final int NO_NONLINEAR_AD
public static final int NO_SUPPORTED_NONLINEAR_RESOURCE
public static final int GENERAL_COMPANION_AD_ERROR
public static final int UNSUPPORTED_COMPANION_AD
public static final int COMPANION_AD_DISPLAY_ERROR
public static final int NO_COMPANION_AD_ERROR
public static final int NO_SUPPORTED_COMPANION_AD_RESOURCE
public static final int UNDEFINED_ERROR
public POBVastError(int errorCode,
@NonNull
java.lang.String message)
public int getErrorCode()
public void setErrorCode(int errorCode)
errorCode - error codepublic java.lang.String getErrorMessage()
public void setErrorMessage(java.lang.String errorMessage)
errorMessage - error message@NonNull public java.lang.String toString()
toString in class java.lang.Object