public class VungleException
extends java.lang.Exception
Modifier and Type | Class and Description |
---|---|
static interface |
VungleException.ExceptionCode |
Modifier and Type | Field and Description |
---|---|
static int |
AD_EXPIRED |
static int |
AD_FAILED_TO_DOWNLOAD |
static int |
AD_UNABLE_TO_PLAY |
static int |
ALREADY_PLAYING_ANOTHER_AD |
static int |
APPLICATION_CONTEXT_REQUIRED |
static int |
ASSET_DOWNLOAD_ERROR |
static int |
ASSET_DOWNLOAD_RECOVERABLE |
static int |
CONFIGURATION_ERROR |
static int |
DB_ERROR |
static int |
DIRECT_DOWNLOAD_VALIDATION_ERROR |
static int |
MISSING_REQUIRED_ARGUMENTS_FOR_INIT |
static int |
NETWORK_ERROR |
static int |
NO_AUTO_CACHED_PLACEMENT |
static int |
NO_SERVE |
static int |
NO_SPACE_TO_DOWNLOAD_ASSETS |
static int |
NO_SPACE_TO_INIT |
static int |
NO_SPACE_TO_LOAD_AD |
static int |
NO_SPACE_TO_LOAD_AD_AUTO_CACHED |
static int |
OPERATION_CANCELED |
static int |
OPERATION_ONGOING |
static int |
PLACEMENT_NOT_FOUND |
static int |
SERVER_ERROR |
static int |
SERVER_RETRY_ERROR |
static int |
SERVER_TEMPORARY_UNAVAILABLE |
static int |
UNKNOWN_ERROR |
static int |
VUNGLE_NOT_INTIALIZED |
static int |
ZERO_PLACEMENTS |
Constructor and Description |
---|
VungleException(int cause) |
Modifier and Type | Method and Description |
---|---|
int |
getExceptionCode() |
static int |
getExceptionCode(java.lang.Throwable throwable)
Returns exception code for Throwable or -1
if throwable is not
VungleException
or is null |
java.lang.String |
getLocalizedMessage() |
public static final int ZERO_PLACEMENTS
public static final int NO_SERVE
public static final int UNKNOWN_ERROR
public static final int CONFIGURATION_ERROR
public static final int AD_EXPIRED
public static final int DIRECT_DOWNLOAD_VALIDATION_ERROR
public static final int MISSING_REQUIRED_ARGUMENTS_FOR_INIT
public static final int APPLICATION_CONTEXT_REQUIRED
public static final int OPERATION_ONGOING
public static final int VUNGLE_NOT_INTIALIZED
public static final int AD_UNABLE_TO_PLAY
public static final int AD_FAILED_TO_DOWNLOAD
public static final int NO_AUTO_CACHED_PLACEMENT
public static final int PLACEMENT_NOT_FOUND
public static final int SERVER_RETRY_ERROR
public static final int ALREADY_PLAYING_ANOTHER_AD
public static final int NO_SPACE_TO_INIT
public static final int NO_SPACE_TO_LOAD_AD
public static final int NO_SPACE_TO_LOAD_AD_AUTO_CACHED
public static final int NO_SPACE_TO_DOWNLOAD_ASSETS
public static final int NETWORK_ERROR
public static final int SERVER_ERROR
public static final int SERVER_TEMPORARY_UNAVAILABLE
public static final int ASSET_DOWNLOAD_RECOVERABLE
public static final int ASSET_DOWNLOAD_ERROR
public static final int OPERATION_CANCELED
public static final int DB_ERROR
public int getExceptionCode()
public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class java.lang.Throwable
public static int getExceptionCode(java.lang.Throwable throwable)
VungleException
or is nullthrowable
- VungleException.ExceptionCode
or -1