Package com.pubmatic.sdk.video
Class POBVastError
-
- All Implemented Interfaces:
public class POBVastErrorMaintains the VAST error code along with specific error message
-
-
Field Summary
Fields Modifier and Type Field Description public final static intXML_PARSING_ERRORpublic final static intSCHEMA_VALIDATION_ERRORpublic final static intUNSUPPORTED_VAST_VERSIONpublic final static intTRAFFICKING_ERRORpublic final static intINCORRECT_LINEARITYpublic final static intINCORRECT_DURATIONpublic final static intINCORRECT_SIZEpublic final static intMISSING_AD_CATEGORYpublic final static intRECEIVED_BLOCKED_AD_CATEGORIESpublic final static intGENERAL_WRAPPER_ERRORpublic final static intWRAPPER_TIMEOUTpublic final static intWRAPPER_THRESHOLDpublic final static intNO_VAST_RESPONSEpublic final static intAD_DISPLAY_TIMEOUTpublic final static intGENERAL_LINEAR_ERRORpublic final static intMEDIA_FILE_NOT_FOUNDpublic final static intMEDIA_FILE_TIMEOUTpublic final static intNO_SUPPORTED_MEDIA_FILEpublic final static intMEDIA_FILE_DISPLAY_ERRORpublic final static intVERIFICATION_EXECUTION_ERRORpublic final static intGENERAL_NONLINEAR_AD_ERRORpublic final static intUNSUPPORTED_NONLINEAR_ADpublic final static intNO_NONLINEAR_ADpublic final static intNO_SUPPORTED_NONLINEAR_RESOURCEpublic final static intGENERAL_COMPANION_AD_ERRORpublic final static intUNSUPPORTED_COMPANION_ADpublic final static intCOMPANION_AD_DISPLAY_ERRORpublic final static intNO_COMPANION_AD_ERRORpublic final static intNO_SUPPORTED_COMPANION_AD_RESOURCEpublic final static intUNDEFINED_ERRORpublic interrorCodepublic StringerrorMessage
-
Constructor Summary
Constructors Constructor Description POBVastError(int errorCode, String message)
-
Method Summary
Modifier and Type Method Description intgetErrorCode()Returns the integer value of the error code. voidsetErrorCode(int errorCode)(Internal for OpenWrap SDK) StringgetErrorMessage()Returns the descriptive message for probable fix voidsetErrorMessage(String errorMessage)(Internal for OpenWrap SDK) StringtoString()Returns the descriptive/string format of current error object. -
-
Constructor Detail
-
POBVastError
POBVastError(int errorCode, String message)
-
-
Method Detail
-
getErrorCode
int getErrorCode()
Returns the integer value of the error code.
- Returns:
error code value
-
setErrorCode
void setErrorCode(int errorCode)
(Internal for OpenWrap SDK)
- Parameters:
errorCode- error code
-
getErrorMessage
String getErrorMessage()
Returns the descriptive message for probable fix
- Returns:
Error message
-
setErrorMessage
void setErrorMessage(String errorMessage)
(Internal for OpenWrap SDK)
- Parameters:
errorMessage- error message
-
-
-
-