com.motorola.oem.network
Class NetworkException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.motorola.oem.OEMException
              extended by com.motorola.oem.network.NetworkException

public class NetworkException
extends OEMException

Exception type for Network class.


Field Summary
static int ADD_TO_PREFERRED_LIST_FAIL_ERROR
          Adding to SIM Preferred Operators' list failed
static int ADD_TO_PREFERRED_LIST_INDEX_ERROR
          Adding to SIM Preferred Operators' list - invalid index
static int ADD_TO_PREFERRED_LIST_SYNTAX_ERROR
          Adding to SIM Preferred Operators' list syntax error
static int ASYNC_REQ_BUSY_ERROR
          Attempt to send several asynchronous network requests simultaneously.
static int CLIP_NO_NETWORK_ERROR
          Attempt to get CLIP without network registration
static int CLIR_MEMORY_ERROR
          CLIR memory storage failed
static int CLOCK_ERROR
          Clock is not defined
static int DELETE_FROM_PREFERRED_LIST_FAIL_ERROR
          Deleting from SIM Preferred Operators' list failed
static int DELETE_FROM_PREFERRED_LIST_INDEX_ERROR
          Deleting from SIM Preferred Operators' list - invalid index
static int GET_AVAIL_NET_BUSY_ERROR
          Get available networks - Busy
static int GET_AVAIL_NET_INVALID_REG_STATE_ERROR
          Get available networks - invalid network registration state
static int GET_AVAIL_NET_WRONG_FORMAT_ERROR
          Get available networks - wrong opeartor format parameter
static int GET_PACKET_SWITCH_ERROR
          Get Packet Switch Coverage - undefined coverage
static int GET_PREFERRED_LIST_ERROR
          Getting SIM Preferred Operators' list failed
static int ILLEGAL_CLIP_SS_ID_ERROR
          Invalid CLIP SS Identifier
static int ILLEGAL_CLIR_SS_ID_ERROR
          Invalid CLIP SS Identifier
static int ILLEGAL_OPEARTOR_NAME_ERROR
          Illegal Operator name(Alpha or Numeric)
static int INVALID_ACQUIRE_HANDLER_ERROR
          Unable to register a handler for a confirmation event
static int OP_SELECT_CALL_STATE_INVALID_ERROR
          Manual Operator selection - call state is not IDLE
static int OP_SELECT_INVALID_NAME_ERROR
          Manual Operator selection - wrong name of operator parameter
static int OP_SELECT_INVALID_REG_STATE_ERROR
          Manual Operator selection - invalid network registation state
static int OP_SELECT_NO_NETWORK_ERROR
          Manual Operator selection - no network service
static int OP_SELECT_UNKNOWN_FORMAT_ERROR
          Manual Operator selection - wrong operator format parameter
static int UNABLE_REGISTER_CNF_EVENT_ERROR
          Unable to register a confirmation event
static int USSD_ERROR
          USSD Error Code
 
Fields inherited from class com.motorola.oem.OEMException
CONFIGURATION_ERROR, CONSTRUCT_CLASS_ERROR, GENERAL_ERROR, ILLEGAL_PARAM_ERROR
 
Constructor Summary
NetworkException(int errorCode, java.lang.String errorMessage)
          Constructs a NetworkException object with the specified error code and error message.
 
Method Summary
 
Methods inherited from class com.motorola.oem.OEMException
getErrorCode
 
Methods inherited from class java.lang.Throwable
getMessage, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ASYNC_REQ_BUSY_ERROR

public static final int ASYNC_REQ_BUSY_ERROR
Attempt to send several asynchronous network requests simultaneously.

See Also:
Constant Field Values

UNABLE_REGISTER_CNF_EVENT_ERROR

public static final int UNABLE_REGISTER_CNF_EVENT_ERROR
Unable to register a confirmation event

See Also:
Constant Field Values

INVALID_ACQUIRE_HANDLER_ERROR

public static final int INVALID_ACQUIRE_HANDLER_ERROR
Unable to register a handler for a confirmation event

See Also:
Constant Field Values

ILLEGAL_OPEARTOR_NAME_ERROR

public static final int ILLEGAL_OPEARTOR_NAME_ERROR
Illegal Operator name(Alpha or Numeric)

See Also:
Constant Field Values

ILLEGAL_CLIP_SS_ID_ERROR

public static final int ILLEGAL_CLIP_SS_ID_ERROR
Invalid CLIP SS Identifier

See Also:
Constant Field Values

ILLEGAL_CLIR_SS_ID_ERROR

public static final int ILLEGAL_CLIR_SS_ID_ERROR
Invalid CLIP SS Identifier

See Also:
Constant Field Values

CLIP_NO_NETWORK_ERROR

public static final int CLIP_NO_NETWORK_ERROR
Attempt to get CLIP without network registration

See Also:
Constant Field Values

CLIR_MEMORY_ERROR

public static final int CLIR_MEMORY_ERROR
CLIR memory storage failed

See Also:
Constant Field Values

CLOCK_ERROR

public static final int CLOCK_ERROR
Clock is not defined

See Also:
Constant Field Values

GET_PREFERRED_LIST_ERROR

public static final int GET_PREFERRED_LIST_ERROR
Getting SIM Preferred Operators' list failed

See Also:
Constant Field Values

ADD_TO_PREFERRED_LIST_SYNTAX_ERROR

public static final int ADD_TO_PREFERRED_LIST_SYNTAX_ERROR
Adding to SIM Preferred Operators' list syntax error

See Also:
Constant Field Values

ADD_TO_PREFERRED_LIST_FAIL_ERROR

public static final int ADD_TO_PREFERRED_LIST_FAIL_ERROR
Adding to SIM Preferred Operators' list failed

See Also:
Constant Field Values

ADD_TO_PREFERRED_LIST_INDEX_ERROR

public static final int ADD_TO_PREFERRED_LIST_INDEX_ERROR
Adding to SIM Preferred Operators' list - invalid index

See Also:
Constant Field Values

DELETE_FROM_PREFERRED_LIST_FAIL_ERROR

public static final int DELETE_FROM_PREFERRED_LIST_FAIL_ERROR
Deleting from SIM Preferred Operators' list failed

See Also:
Constant Field Values

DELETE_FROM_PREFERRED_LIST_INDEX_ERROR

public static final int DELETE_FROM_PREFERRED_LIST_INDEX_ERROR
Deleting from SIM Preferred Operators' list - invalid index

See Also:
Constant Field Values

OP_SELECT_CALL_STATE_INVALID_ERROR

public static final int OP_SELECT_CALL_STATE_INVALID_ERROR
Manual Operator selection - call state is not IDLE

See Also:
Constant Field Values

OP_SELECT_NO_NETWORK_ERROR

public static final int OP_SELECT_NO_NETWORK_ERROR
Manual Operator selection - no network service

See Also:
Constant Field Values

OP_SELECT_INVALID_REG_STATE_ERROR

public static final int OP_SELECT_INVALID_REG_STATE_ERROR
Manual Operator selection - invalid network registation state

See Also:
Constant Field Values

OP_SELECT_INVALID_NAME_ERROR

public static final int OP_SELECT_INVALID_NAME_ERROR
Manual Operator selection - wrong name of operator parameter

See Also:
Constant Field Values

OP_SELECT_UNKNOWN_FORMAT_ERROR

public static final int OP_SELECT_UNKNOWN_FORMAT_ERROR
Manual Operator selection - wrong operator format parameter

See Also:
Constant Field Values

GET_AVAIL_NET_INVALID_REG_STATE_ERROR

public static final int GET_AVAIL_NET_INVALID_REG_STATE_ERROR
Get available networks - invalid network registration state

See Also:
Constant Field Values

GET_AVAIL_NET_WRONG_FORMAT_ERROR

public static final int GET_AVAIL_NET_WRONG_FORMAT_ERROR
Get available networks - wrong opeartor format parameter

See Also:
Constant Field Values

GET_AVAIL_NET_BUSY_ERROR

public static final int GET_AVAIL_NET_BUSY_ERROR
Get available networks - Busy

See Also:
Constant Field Values

GET_PACKET_SWITCH_ERROR

public static final int GET_PACKET_SWITCH_ERROR
Get Packet Switch Coverage - undefined coverage

See Also:
Constant Field Values

USSD_ERROR

public static final int USSD_ERROR
USSD Error Code

See Also:
Constant Field Values
Constructor Detail

NetworkException

public NetworkException(int errorCode,
                        java.lang.String errorMessage)
Constructs a NetworkException object with the specified error code and error message.

Parameters:
errorMessage - error message to be used.
errorCode - error code of specific Network API exception type.