|
SMSLib 3.5.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<OutboundMessage.FailureCauses>
org.smslib.OutboundMessage.FailureCauses
public static enum OutboundMessage.FailureCauses
Enumeration representing the failure reasons of a failed outbound message.
Enum Constant Summary | |
---|---|
BAD_FORMAT
Bad message format - fatal error. |
|
BAD_NUMBER
Bad destination number - fatal error. |
|
GATEWAY_AUTH
Authentication problem (pin, passwords, etc) - fatal error. |
|
GATEWAY_FAILURE
Generic gateway failure - transient error, retry later. |
|
GLOBAL_OPTOUT
EzTexting specific: Globally opted out phone number (the phone number has been opted out from all messages sent from our short code) |
|
LOCAL_OPTOUT
EzTexting specific: Local opt out (the recipient/number is on your opt-out list.) |
|
NO_CREDIT
No credit left - fatal error. |
|
NO_ERROR
No error, everything OK. |
|
NO_ROUTE
Unable to route message - transient error. |
|
UNKNOWN
Unknown generic problems encountered. |
Method Summary | |
---|---|
static OutboundMessage.FailureCauses |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static OutboundMessage.FailureCauses[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final OutboundMessage.FailureCauses NO_ERROR
public static final OutboundMessage.FailureCauses BAD_NUMBER
public static final OutboundMessage.FailureCauses BAD_FORMAT
public static final OutboundMessage.FailureCauses GATEWAY_FAILURE
public static final OutboundMessage.FailureCauses NO_CREDIT
public static final OutboundMessage.FailureCauses GATEWAY_AUTH
public static final OutboundMessage.FailureCauses NO_ROUTE
public static final OutboundMessage.FailureCauses LOCAL_OPTOUT
public static final OutboundMessage.FailureCauses GLOBAL_OPTOUT
public static final OutboundMessage.FailureCauses UNKNOWN
Method Detail |
---|
public static OutboundMessage.FailureCauses[] values()
for (OutboundMessage.FailureCauses c : OutboundMessage.FailureCauses.values()) System.out.println(c);
public static OutboundMessage.FailureCauses 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 name
java.lang.NullPointerException
- if the argument is null
|
SMSLib 3.5.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |