public static enum GatewayExecutor.Problem extends java.lang.Enum<GatewayExecutor.Problem>
Enum Constant and Description |
---|
CUSTOM_MESSAGE
Gateway script author provided his own message.
|
FIX_IN_PROGRESS
A fix for this gateway is being worked on.
|
GATEWAY_MESSAGE
Gateway provided its own error message.
|
INTERNAL_MESSAGE
This is used for internal Esmska purposes.
|
LIMIT_REACHED
The user has not waited long enough to send another message
or message quota has been reached.
|
LONG_TEXT
The message text was too long.
|
NO_CREDIT
The user does not have sufficient credit.
|
NO_REASON
The sending failed but gateway hasn't provided any reason for it.
|
SIGNATURE_NEEDED
The sender signature was missing.
|
UNKNOWN
Message that unknown error happened, maybe error in the script.
|
UNUSABLE
This gateway is for some reason currently unusable.
|
WRONG_AUTH
The login or password was wrong.
|
WRONG_CODE
The security code was wrong.
|
WRONG_NUMBER
The recepient number was wrong.
|
WRONG_SIGNATURE
The sender signature was wrong.
|
Modifier and Type | Method and Description |
---|---|
static GatewayExecutor.Problem |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GatewayExecutor.Problem[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GatewayExecutor.Problem CUSTOM_MESSAGE
public static final GatewayExecutor.Problem FIX_IN_PROGRESS
public static final GatewayExecutor.Problem GATEWAY_MESSAGE
public static final GatewayExecutor.Problem INTERNAL_MESSAGE
public static final GatewayExecutor.Problem LIMIT_REACHED
public static final GatewayExecutor.Problem LONG_TEXT
public static final GatewayExecutor.Problem NO_CREDIT
public static final GatewayExecutor.Problem NO_REASON
public static final GatewayExecutor.Problem SIGNATURE_NEEDED
public static final GatewayExecutor.Problem UNKNOWN
public static final GatewayExecutor.Problem UNUSABLE
public static final GatewayExecutor.Problem WRONG_AUTH
public static final GatewayExecutor.Problem WRONG_CODE
public static final GatewayExecutor.Problem WRONG_NUMBER
public static final GatewayExecutor.Problem WRONG_SIGNATURE
public static GatewayExecutor.Problem[] values()
for (GatewayExecutor.Problem c : GatewayExecutor.Problem.values()) System.out.println(c);
public static GatewayExecutor.Problem 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 null