com.adobe.connectpro.telephony.adaptor
Enum FailureCode

java.lang.Object
  extended by java.lang.Enum<FailureCode>
      extended by com.adobe.connectpro.telephony.adaptor.FailureCode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FailureCode>

public enum FailureCode
extends java.lang.Enum<FailureCode>

Failure codes used by adaptor to indicate the cause of failure in failure callbacks


Enum Constant Summary
TELEPHONY_ACCOUNT_EXPIRED
          Telephony profile account used to make a request is expired.
TELEPHONY_CONFERENCE_ALREADY_ACTIVE
          Caller tried to start a conference that is already started.
TELEPHONY_CONFERENCE_NOT_ACTIVE
          Operation on the conference cannot be performed because the conference is inactive.
TELEPHONY_DIAL_OUT_DISALLOWED
          Dialouts are not allowed.
TELEPHONY_INTERNAL_ERROR
          Operation could not be performed due to internal adaptor error.
TELEPHONY_INTERNATIONAL_DIAL_OUT_DISALLOWED
          International Dialouts are not allowed.
TELEPHONY_INVALID_ARGUMENT
          The argument passed by Connect Pro is invalid.
TELEPHONY_INVALID_CREDENTIALS
          Invalid profile fields are provided for the telephony account.
TELEPHONY_INVALID_FIELDS
          The fields given for validating user profiles are not valid.
TELEPHONY_NO_RESPONSE
          No response is received from the conference bridge for a call within the specified amount of time
TELEPHONY_SERVER_DOWN
          The request cannot be processed due to server outage.
TELEPHONY_UNKNOWN_ERROR
          Operation could not be performed due to some server error which is unknown to the adaptor or doesn't fit in any of errors understood and handled by Connect Pro.
TELEPHONY_USER_ANS_NO_RESPONSE
          Dialout has failed due to no response from user after the call was answered by user.
TELEPHONY_USER_LINE_BUSY
          Dialout has failed due to a busy phone line.
 
Method Summary
 java.lang.String toString()
          String value of the enum constant
static FailureCode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FailureCode valueOfCustom(java.lang.String customName)
          Returns the enum constant based on String value of the same
static FailureCode[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TELEPHONY_INVALID_ARGUMENT

public static final FailureCode TELEPHONY_INVALID_ARGUMENT
The argument passed by Connect Pro is invalid.


TELEPHONY_NO_RESPONSE

public static final FailureCode TELEPHONY_NO_RESPONSE
No response is received from the conference bridge for a call within the specified amount of time


TELEPHONY_SERVER_DOWN

public static final FailureCode TELEPHONY_SERVER_DOWN
The request cannot be processed due to server outage.


TELEPHONY_INTERNAL_ERROR

public static final FailureCode TELEPHONY_INTERNAL_ERROR
Operation could not be performed due to internal adaptor error.


TELEPHONY_UNKNOWN_ERROR

public static final FailureCode TELEPHONY_UNKNOWN_ERROR
Operation could not be performed due to some server error which is unknown to the adaptor or doesn't fit in any of errors understood and handled by Connect Pro.


TELEPHONY_USER_ANS_NO_RESPONSE

public static final FailureCode TELEPHONY_USER_ANS_NO_RESPONSE
Dialout has failed due to no response from user after the call was answered by user.


TELEPHONY_USER_LINE_BUSY

public static final FailureCode TELEPHONY_USER_LINE_BUSY
Dialout has failed due to a busy phone line.


TELEPHONY_ACCOUNT_EXPIRED

public static final FailureCode TELEPHONY_ACCOUNT_EXPIRED
Telephony profile account used to make a request is expired.


TELEPHONY_INVALID_CREDENTIALS

public static final FailureCode TELEPHONY_INVALID_CREDENTIALS
Invalid profile fields are provided for the telephony account.


TELEPHONY_CONFERENCE_ALREADY_ACTIVE

public static final FailureCode TELEPHONY_CONFERENCE_ALREADY_ACTIVE
Caller tried to start a conference that is already started.


TELEPHONY_CONFERENCE_NOT_ACTIVE

public static final FailureCode TELEPHONY_CONFERENCE_NOT_ACTIVE
Operation on the conference cannot be performed because the conference is inactive.


TELEPHONY_INVALID_FIELDS

public static final FailureCode TELEPHONY_INVALID_FIELDS
The fields given for validating user profiles are not valid. Used in ValidateException


TELEPHONY_DIAL_OUT_DISALLOWED

public static final FailureCode TELEPHONY_DIAL_OUT_DISALLOWED
Dialouts are not allowed.


TELEPHONY_INTERNATIONAL_DIAL_OUT_DISALLOWED

public static final FailureCode TELEPHONY_INTERNATIONAL_DIAL_OUT_DISALLOWED
International Dialouts are not allowed.

Method Detail

values

public static FailureCode[] 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 (FailureCode c : FailureCode.values())
    System.out.println(c);

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

valueOf

public static FailureCode valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

toString

public java.lang.String toString()
String value of the enum constant

Overrides:
toString in class java.lang.Enum<FailureCode>

valueOfCustom

public static FailureCode valueOfCustom(java.lang.String customName)
Returns the enum constant based on String value of the same