com.skype
Enum VoiceMail.FailureReason

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

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

Enumeration of VoiceMail failure reason types


Enum Constant Summary
CONNECT_ERROR
           
FILE_READ_ERROR
           
FILE_WRITE_ERROR
           
MISC_ERROR
          MISC_ERROR CONNECT_ERROR NO_VOICEMAIL_PRIVILEGE NO_SUCH_VOICEMAIL FILE_READ_ERROR FILE_WRITE_ERROR RECORDING_ERROR PLAYBACK_ERROR UNKNOWN
NO_SUCH_VOICEMAIL
           
NO_VOICEMAIL_PRIVILEGE
           
PLAYBACK_ERROR
           
RECORDING_ERROR
           
UNKNOWN
           
 
Method Summary
static VoiceMail.FailureReason valueOf(String name)
          Returns the enum constant of this type with the specified name.
static VoiceMail.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 VoiceMail.FailureReason MISC_ERROR
MISC_ERROR CONNECT_ERROR NO_VOICEMAIL_PRIVILEGE NO_SUCH_VOICEMAIL FILE_READ_ERROR FILE_WRITE_ERROR RECORDING_ERROR PLAYBACK_ERROR UNKNOWN


CONNECT_ERROR

public static final VoiceMail.FailureReason CONNECT_ERROR

NO_VOICEMAIL_PRIVILEGE

public static final VoiceMail.FailureReason NO_VOICEMAIL_PRIVILEGE

NO_SUCH_VOICEMAIL

public static final VoiceMail.FailureReason NO_SUCH_VOICEMAIL

FILE_READ_ERROR

public static final VoiceMail.FailureReason FILE_READ_ERROR

FILE_WRITE_ERROR

public static final VoiceMail.FailureReason FILE_WRITE_ERROR

RECORDING_ERROR

public static final VoiceMail.FailureReason RECORDING_ERROR

PLAYBACK_ERROR

public static final VoiceMail.FailureReason PLAYBACK_ERROR

UNKNOWN

public static final VoiceMail.FailureReason UNKNOWN
Method Detail

values

public static VoiceMail.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 (VoiceMail.FailureReason c : VoiceMail.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 VoiceMail.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.