org.mobicents.protocols.smpp.gsm
Enum GSMError

java.lang.Object
  extended by java.lang.Enum<GSMError>
      extended by org.mobicents.protocols.smpp.gsm.GSMError
All Implemented Interfaces:
Serializable, Comparable<GSMError>

public enum GSMError
extends Enum<GSMError>

GSM error codes.

Since:
0.4.0
Version:
$Id: GSMError.java 452 2009-01-15 16:56:36Z orank $

Enum Constant Summary
ERR_NONE
           
ERR_P_CUG
           
ERR_P_PROVISION
           
ERR_P_UNKNOWN
           
ERR_T_ABSENT
           
ERR_T_ABSENT_DETACHED
           
ERR_T_ABSENT_PAGEFAIL
           
ERR_T_BARRED
           
ERR_T_MEMCAP
           
ERR_T_MSERROR
           
ERR_T_MSSUPPORT
           
ERR_T_SUPPORT
           
ERR_T_SUPPORT_ROAMING
           
ERR_T_SYSTEM
           
 
Method Summary
 int getCode()
           
static GSMError valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GSMError[] 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

ERR_NONE

public static final GSMError ERR_NONE

ERR_P_UNKNOWN

public static final GSMError ERR_P_UNKNOWN

ERR_P_PROVISION

public static final GSMError ERR_P_PROVISION

ERR_T_BARRED

public static final GSMError ERR_T_BARRED

ERR_P_CUG

public static final GSMError ERR_P_CUG

ERR_T_MSSUPPORT

public static final GSMError ERR_T_MSSUPPORT

ERR_T_MSERROR

public static final GSMError ERR_T_MSERROR

ERR_T_SUPPORT

public static final GSMError ERR_T_SUPPORT

ERR_T_MEMCAP

public static final GSMError ERR_T_MEMCAP

ERR_T_ABSENT

public static final GSMError ERR_T_ABSENT

ERR_T_ABSENT_DETACHED

public static final GSMError ERR_T_ABSENT_DETACHED

ERR_T_ABSENT_PAGEFAIL

public static final GSMError ERR_T_ABSENT_PAGEFAIL

ERR_T_SUPPORT_ROAMING

public static final GSMError ERR_T_SUPPORT_ROAMING

ERR_T_SYSTEM

public static final GSMError ERR_T_SYSTEM
Method Detail

values

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

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

valueOf

public static GSMError 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

getCode

public int getCode()


Copyright © 2011 Mobicents. All Rights Reserved.