Page tree


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 int INTERNAL_ERROR
static int INTERSTITIAL_ALREADY_USED
static int INVALID_MEDIATION_RESPONSE
static int INVALID_REQUEST
static java.lang.string INVALID_REQUEST_MSG
static int INVALID_RESPONSE
static int MEDIATION_ADAPTER_ERROR
static int MEDIATION_NO_FILL
static int NETWORK_ERROR
static int NO_ADS_AVAILABLE
static int RENDER_ERROR
static int REQUEST_CANCELLED
static int SERVER_ERROR
static int TIMEOUT_ERROR

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
int getCode ()
java.lang.string getMessage ()
void setCode (int code)
void setMessage (java.lang.string message)
java.lang.string tostring ()

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

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


⇧ Top