public enum ErrorCode extends java.lang.Enum<ErrorCode>
Enum Constant and Description |
---|
ADAPTER_CONFIGURATION_ERROR
Error during mediation network adapter configuration.
|
ADAPTER_NOT_FOUND
***Mediation Error code starts
Internal Error during adapter inclusion.
|
GENERAL_ERROR
Please inspect error message for further details.
|
INVALID_REQUEST
Error in case of 4xx error code
|
NETWORK_INVALID_STATE
Mediation network Invalid State.
|
NETWORK_NO_FILL
Mediation network could not fill.
|
NETWORK_TIMEOUT
Timeout in Mediation Network.
|
NO_AD_AVAILABLE
Currently no ad available.
|
NO_CONNECTION_ERROR
The system is unable to connect to the smaato server.
|
NO_ERROR
No error.
|
PARSING_ERROR
Error during response parsing.
|
UNKNOWN_PUBLISHER_OR_ADSPACE_ID
The publisher or adspace id is invalid.
|
UNSPECIFIED
Timeout in Mediation .
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getResponseString() |
static ErrorCode |
getValueForString(java.lang.String string)
Get an Error Code from a given string value.
|
static ErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorCode NO_ERROR
public static final ErrorCode UNKNOWN_PUBLISHER_OR_ADSPACE_ID
public static final ErrorCode NO_CONNECTION_ERROR
public static final ErrorCode NO_AD_AVAILABLE
public static final ErrorCode GENERAL_ERROR
public static final ErrorCode PARSING_ERROR
public static final ErrorCode INVALID_REQUEST
public static final ErrorCode ADAPTER_NOT_FOUND
public static final ErrorCode ADAPTER_CONFIGURATION_ERROR
public static final ErrorCode UNSPECIFIED
public static final ErrorCode NETWORK_TIMEOUT
public static final ErrorCode NETWORK_NO_FILL
public static final ErrorCode NETWORK_INVALID_STATE
public static ErrorCode[] values()
for (ErrorCode c : ErrorCode.values()) System.out.println(c);
public static ErrorCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getResponseString()
public static ErrorCode getValueForString(java.lang.String string)
string
- ErrorCode
value for the given string.