com.genesyslab.ail.exception
Class TelephonyErrorException.Type

java.lang.Object
  extended by com.genesyslab.ail.Enum
      extended by com.genesyslab.ail.exception.TelephonyErrorException.Type
Enclosing class:
TelephonyErrorException

public static class TelephonyErrorException.Type
extends Enum

Constants for the types of telephony error.


Field Summary
static TelephonyErrorException.Type CALL_EXPIRED
          The call has expired.
static int CALL_EXPIRED_
          The call has expired.
static TelephonyErrorException.Type CALL_REJECTED
          The call has been rejected.
static int CALL_REJECTED_
          The call has been rejected.
static TelephonyErrorException.Type INTERNAL
          Internal error.
static int INTERNAL_
          Internal error.
static TelephonyErrorException.Type INVALID_NUMBER
          The number is invalid.
static int INVALID_NUMBER_
          The number is invalid.
static TelephonyErrorException.Type INVALID_PASSWORD
          The given password is incorrect.
static int INVALID_PASSWORD_
          The given password is incorrect.
static TelephonyErrorException.Type LICENSE
          The request failed for licence reasons.
static int LICENSE_
          The request failed for licence reasons.
static int MAX
          The number of constants.
static TelephonyErrorException.Type UNSUPPORTED_OPERATION
          The request can't be executed by this TServer.
static int UNSUPPORTED_OPERATION_
          The request can't be executed by this TServer.
static TelephonyErrorException.Type USER_BUSY
          The request failed because the user is busy.
static int USER_BUSY_
          The request failed because the user is busy.
static TelephonyErrorException.Type VOICE_NETWORK
          A problem was encountered on the voice network.
static int VOICE_NETWORK_
          A problem was encountered on the voice network.
 
Fields inherited from class com.genesyslab.ail.Enum
CONSTANTS_RANGE
 
Method Summary
static TelephonyErrorException.Type getType(int value)
          Returns the Type for this value.
static int max()
          The number of constants.
 
Methods inherited from class com.genesyslab.ail.Enum
equals, hashCode, toInt, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

INTERNAL_

public static final int INTERNAL_
Internal error.

See Also:
Constant Field Values

INTERNAL

public static final TelephonyErrorException.Type INTERNAL
Internal error.


USER_BUSY_

public static final int USER_BUSY_
The request failed because the user is busy.

See Also:
Constant Field Values

USER_BUSY

public static final TelephonyErrorException.Type USER_BUSY
The request failed because the user is busy.


INVALID_NUMBER_

public static final int INVALID_NUMBER_
The number is invalid.

See Also:
Constant Field Values

INVALID_NUMBER

public static final TelephonyErrorException.Type INVALID_NUMBER
The number is invalid.


INVALID_PASSWORD_

public static final int INVALID_PASSWORD_
The given password is incorrect.

See Also:
Constant Field Values

INVALID_PASSWORD

public static final TelephonyErrorException.Type INVALID_PASSWORD
The given password is incorrect.


VOICE_NETWORK_

public static final int VOICE_NETWORK_
A problem was encountered on the voice network.

See Also:
Constant Field Values

VOICE_NETWORK

public static final TelephonyErrorException.Type VOICE_NETWORK
A problem was encountered on the voice network.


LICENSE_

public static final int LICENSE_
The request failed for licence reasons.

See Also:
Constant Field Values

LICENSE

public static final TelephonyErrorException.Type LICENSE
The request failed for licence reasons.


UNSUPPORTED_OPERATION_

public static final int UNSUPPORTED_OPERATION_
The request can't be executed by this TServer.

See Also:
Constant Field Values

UNSUPPORTED_OPERATION

public static final TelephonyErrorException.Type UNSUPPORTED_OPERATION
The request can't be executed by this TServer.


CALL_REJECTED_

public static final int CALL_REJECTED_
The call has been rejected.

See Also:
Constant Field Values

CALL_REJECTED

public static final TelephonyErrorException.Type CALL_REJECTED
The call has been rejected.


CALL_EXPIRED_

public static final int CALL_EXPIRED_
The call has expired.

See Also:
Constant Field Values

CALL_EXPIRED

public static final TelephonyErrorException.Type CALL_EXPIRED
The call has expired.


MAX

public static final int MAX
The number of constants.

See Also:
Constant Field Values
Method Detail

max

public static final int max()
The number of constants.


getType

public static final TelephonyErrorException.Type getType(int value)
Returns the Type for this value.