|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<GatewayExecutor.Problem>
esmska.transfer.GatewayExecutor.Problem
public static enum GatewayExecutor.Problem
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, 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 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
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |