public enum AdCustomizerErrorReason extends Enum<AdCustomizerErrorReason>
Java class for AdCustomizerError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AdCustomizerError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="COUNTDOWN_INVALID_DATE_FORMAT"/>
<enumeration value="COUNTDOWN_DATE_IN_PAST"/>
<enumeration value="COUNTDOWN_INVALID_LOCALE"/>
<enumeration value="COUNTDOWN_INVALID_START_DAYS_BEFORE"/>
<enumeration value="UNKNOWN_USER_LIST"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
COUNTDOWN_DATE_IN_PAST
Countdown end date is in the past.
|
COUNTDOWN_INVALID_DATE_FORMAT
Invalid date argument in countdown function.
|
COUNTDOWN_INVALID_LOCALE
Invalid locale string in countdown function.
|
COUNTDOWN_INVALID_START_DAYS_BEFORE
Days-before argument to countdown function is not positive.
|
UNKNOWN_USER_LIST
A user list referenced in an IF function does not exist.
|
| Modifier and Type | Method and Description |
|---|---|
static AdCustomizerErrorReason |
fromValue(String v) |
String |
value() |
static AdCustomizerErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdCustomizerErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdCustomizerErrorReason COUNTDOWN_INVALID_DATE_FORMAT
public static final AdCustomizerErrorReason COUNTDOWN_DATE_IN_PAST
public static final AdCustomizerErrorReason COUNTDOWN_INVALID_LOCALE
public static final AdCustomizerErrorReason COUNTDOWN_INVALID_START_DAYS_BEFORE
public static final AdCustomizerErrorReason UNKNOWN_USER_LIST
public static AdCustomizerErrorReason[] values()
for (AdCustomizerErrorReason c : AdCustomizerErrorReason.values()) System.out.println(c);
public static AdCustomizerErrorReason valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static AdCustomizerErrorReason fromValue(String v)
Copyright © 2023. All rights reserved.