PMError

Document created by david.simerly on Nov 21, 2017Last modified by david.simerly on Apr 3, 2018
Version 2Show Document
  • View in full screen mode

PubMatic SDKs

AdRequest

NativeAdSize

PMAdRendered

PMAdRequest

PMAdRequest.AD_TYPE

PMAdRequest.AWT_OPTION

PMAdRequest.ETHNICITY

PMAdRequest.GENDER

PMAdRequest.HASHING_TECHNIQUE

PMAdRequest.OPERID

PMAdRequest.RS

PMAdSize

PMAdSize

PMBannerAdRequest

PMBannerAdView

PMBannerAdView.BannerAdViewDelegate

PMBannerAdView.BannerAdViewDelegate.
     ActivityListener

PMBannerAdView.BannerAdViewDelegate.
     FeatureSupportHandler

PMBannerAdView.BannerAdViewDelegate.
     InternalBrowserListener

PMBannerAdView.BannerAdViewDelegate.
     RequestListener

PMBannerAdView.BannerAdViewDelegate.
     RichMediaListener

PMBannerImpression

PMBid

➤ PMError

PMImpression

PMInterstitialAd

PMInterstitialAd.InterstitialAdListener

PMInterstitialAd.InterstitialAdListener.
     ActivityListener

PMInterstitialAd.InterstitialAdListener.
     FeatureSupportHandler

PMInterstitialAd.InterstitialAdListener.
     InternalBrowserListener

PMInterstitialAd.InterstitialAdListener.
     RequestListener

PMInterstitialAd.InterstitialAdListener.
     RichMediaListener

PMInterstitialAdRequest

PMLogger

PMLogger.LogListener

PMLogger.PMLogLevel

PMNativeAd

PMNativeAd.Image

PMNativeAd.NativeRequestListener

PMNativeAdRequest

PMNativeAssetRequest

PMNativeAssetResponse

PMNativeDataAssetRequest

PMNativeDataAssetResponse

PMNativeDataAssetTypes

PMNativeImageAssetRequest

PMNativeImageAssetResponse

PMNativeImageAssetTypes

PMNativeTitleAssetRequest

PMNativeTitleAssetResponse

PMPrefetchManager

PMPrefetchManager.PMPrefetchListener

PMPrefetchRequest

PubMaticSDK


PubMatic Android SDK Guide

com.pubmatic.sdk.common

Class PMError

java.lang.Object
    com.pubmatic.sdk.common.PMError

public class PMError
extends java.lang.Object

 

Field Summary

Modifier and TypeField and Description
static intINTERNAL_ERROR 
static intINTERSTITIAL_ALREADY_USED 
static intINVALID_MEDIATION_RESPONSE 
static intINVALID_REQUEST 
static java.lang.stringINVALID_REQUEST_MSG 
static intINVALID_RESPONSE 
static intMEDIATION_ADAPTER_ERROR 
static intMEDIATION_NO_FILL 
static intNETWORK_ERROR 
static intNO_ADS_AVAILABLE 
static intRENDER_ERROR 
static intREQUEST_CANCELLED 
static intSERVER_ERROR 
static intTIMEOUT_ERROR 

 

Constructor Summary

Constructor and Description
PMError(int code, java.lang.string message) 

 

Method Summary

Modifier and TypeMethod and Description
intgetCode() 
java.lang.stringgetMessage() 
voidsetCode(int code) 
voidsetMessage(java.lang.string message) 
java.lang.stringtostring() 

 

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail


INVALID_REQUEST

public static final int INVALID_REQUEST

 

NO_ADS_AVAILABLE

public static final int NO_ADS_AVAILABLE

 

NETWORK_ERROR

public static final int NETWORK_ERROR

 

SERVER_ERROR

public static final int SERVER_ERROR

 

TIMEOUT_ERROR

public static final int TIMEOUT_ERROR

 

INTERSTITIAL_ALREADY_USED

public static final int INTERSTITIAL_ALREADY_USED

 

INTERNAL_ERROR

public static final int INTERNAL_ERROR

 

INVALID_RESPONSE

public static final int INVALID_RESPONSE

 

INVALID_MEDIATION_RESPONSE

public static final int INVALID_MEDIATION_RESPONSE

 

MEDIATION_ADAPTER_ERROR

public static final int MEDIATION_ADAPTER_ERROR

 

MEDIATION_NO_FILL

public static final int MEDIATION_NO_FILL

 

REQUEST_CANCELLED

public static final int REQUEST_CANCELLED

 

RENDER_ERROR

public static final int RENDER_ERROR

 

INVALID_REQUEST_MSG

public static final java.lang.string INVALID_REQUEST_MSG

 

See Also:
Constant Field Values

 

Constructor Detail


 

PMError

public PMError(int code,                java.lang.string message)

 

Method Detail


getCode

public int getCode()

 

setCode

public void setCode(int code)

 

getMessage

public java.lang.string getMessage()

 

setMessage

public void setMessage(java.lang.string message)

 

tostring

public java.lang.string tostring()

 

 

Overrides:
tostring in class java.lang.Object

 

Attachments

    Outcomes