com.skype
Enum SMS.FailureReason

java.lang.Object
  extended by java.lang.Enum<SMS.FailureReason>
      extended by com.skype.SMS.FailureReason
All Implemented Interfaces:
Serializable, Comparable<SMS.FailureReason>
Enclosing class:
SMS

public static enum SMS.FailureReason
extends Enum<SMS.FailureReason>

Enumeration of SMS failure reason.


Enum Constant Summary
INSUFFICIENT_FUNDS
           
INVALID_CONFIRMATION_CODE
           
IP_BLOCKED
           
MISC_ERROR
          MISC_ERROR - Error not specified.
NO_SMS_CAPABILITY
           
NODE_BLOCKED
           
SERVER_CONNECT_FAILED
           
UNKNOWN
           
USER_BLOCKED
           
 
Method Summary
static SMS.FailureReason valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SMS.FailureReason[] 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

MISC_ERROR

public static final SMS.FailureReason MISC_ERROR
MISC_ERROR - Error not specified. SERVER_CONNECT_FAILED - Skype could not connect to SMS server. NO_SMS_CAPABILITY - SMS is not supported. INSUFFICIENT_FUNDS - User has not enough Skype credits. INVALID_CONFIRMATION_CODE - Confirmation code to link cell phone number to Skype ID is incorrect. USER_BLOCKED - User is blocked. IP_BLOCKED - IP of user is blocked. NODE_BLOCKED - Node of user is blocked. UNKNOWN - Something went wrong but who knows.


SERVER_CONNECT_FAILED

public static final SMS.FailureReason SERVER_CONNECT_FAILED

NO_SMS_CAPABILITY

public static final SMS.FailureReason NO_SMS_CAPABILITY

INSUFFICIENT_FUNDS

public static final SMS.FailureReason INSUFFICIENT_FUNDS

INVALID_CONFIRMATION_CODE

public static final SMS.FailureReason INVALID_CONFIRMATION_CODE

USER_BLOCKED

public static final SMS.FailureReason USER_BLOCKED

IP_BLOCKED

public static final SMS.FailureReason IP_BLOCKED

NODE_BLOCKED

public static final SMS.FailureReason NODE_BLOCKED

UNKNOWN

public static final SMS.FailureReason UNKNOWN
Method Detail

values

public static SMS.FailureReason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SMS.FailureReason c : SMS.FailureReason.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SMS.FailureReason valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2004-2011. All Rights Reserved.