|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
ie.ncl.util.ErrorCodeException
ie.ncl.sms.modem.GsmModemException
public class GsmModemException
Field Summary | |
---|---|
static int |
CME_BAD_CELL
|
static int |
CME_DIAL_STRING_TOO_LONG
|
static int |
CME_ERROR_BIT
Mobile equipment errors (CME). |
static int |
CME_INCORRECT_PASSWORD
|
static int |
CME_LOST_CELL
|
static int |
CME_NO_NETWORK_SERVICE
|
static int |
CME_NOT_FOUND
|
static int |
CME_OPERATION_NOT_ALLOWED
|
static int |
CME_OPERATION_NOT_SUPPORTED
|
static int |
CME_PHONE_FAILURE
|
static int |
CME_PROTOCOL_STACK_BAD_STATE
|
static int |
CME_SIM_BUSY
|
static int |
CME_SIM_FAILURE
|
static int |
CME_SIM_NOT_INSERTED
|
static int |
CME_SIM_PIN_REQUIRED
|
static int |
CME_SIM_PUK_REQUIRED
|
static int |
CME_TEXT_STRING_TOO_LONG
|
static int |
CMS_CALL_BARRED
|
static int |
CMS_DESTINATION_OUT_OF_SERVICE
|
static int |
CMS_DEVICE_NOT_READY
|
static int |
CMS_ERROR_304
|
static int |
CMS_ERROR_BIT
Mobile service Errors (CMS). |
static int |
CMS_FACILITY_REJECTED
|
static int |
CMS_INTERWORKING_UNSPECIFIED
|
static int |
CMS_INVALID_INFO_ELEMENT
|
static int |
CMS_INVALID_MANDETORY_INFORMATION
|
static int |
CMS_INVALID_MEMORY_INDEX
|
static int |
CMS_INVALID_MESSAGE
|
static int |
CMS_INVALID_SM_TRANSFER_REFERENCE_VALUE
|
static int |
CMS_INVALID_TEXT_MODE_PARAM
|
static int |
CMS_MESSAGE_INCOMPATIBLE_WITH_STATE
|
static int |
CMS_MESSAGE_TYPE_NOT_IMPLEMENTED
|
static int |
CMS_NETWORK_CONGESTION
|
static int |
CMS_NETWORK_OUT_OF_ORDER
|
static int |
CMS_OPERATION_NOT_ALLOWED
|
static int |
CMS_OPERATION_NOT_SUPPORTED
|
static int |
CMS_OPERATOR_DETERMINED_BARRING
|
static int |
CMS_PROTOCOL_ERROR
|
static int |
CMS_REQUEST_FACILITY_NOT_IMPLEMENTED
|
static int |
CMS_REQUESTED_FACILITY_NOT_SUBSCRIBED
|
static int |
CMS_RESOURCES_UNAVAILABLE
|
static int |
CMS_SC_ADDRESS_UNKNOWN
|
static int |
CMS_SIM_BUSY
|
static int |
CMS_SIM_FAILURE
|
static int |
CMS_SIM_MEMORY_FULL
|
static int |
CMS_SM_TRANSFER_REJECTED
|
static int |
CMS_SMS_SERVICE_RESERVED
|
static int |
CMS_TEMPORARY_FAILURE
|
static int |
CMS_UNALLOCATED_NUMBER
|
static int |
CMS_UNIDENTIFIED_SUBSCRIBER
|
static int |
CMS_UNKNOWN_ERROR
|
static int |
CMS_UNKNOWN_SUBSCRIBER
|
static int |
COMMUNICATION_ERROR
A communication error occured |
static int |
DELETE_RESPONSE
The delete message response is incorrect. |
static int |
DEVICE_NOT_RESPONDING
Generic modem error returned. |
static int |
ECHO_MISMATCH
Echoed command does not match what was sent |
static int |
GENERIC_ERROR
Generic modem error returned. |
static int |
GENERIC_SEND_ERROR
The send message response is incorrect. |
static int |
INVALID_PIN
The PIN is invalid. |
static int |
IO_ERROR
IO Exception. |
static int |
LIST_MESSAGES_RESPONSE
List messages response is invalid. |
static int |
NOT_INITIALISED
Not initialised. |
static int |
NOT_YET_IMPLEMENTED
The method is not yet implemented (software limitation). |
static int |
PDU_DECODING_FAILED
Cannot decode binary message from GSM 03.40 PDU format. |
static int |
PDU_ENCODING_FAILED
Cannot encode binary message into GSM 03.40 PDU format. |
static int |
PIN_CHECK_RESPONSE
The response from checking PIN is invalid. |
static int |
PIN_REQUIRED_BUT_NOT_SPECIFIED
Pin required but not specified. |
static int |
PIN_SET_RESPONSE
The response from setting PIN is invalid. |
static int |
READ_RESPONSE
The read message response is incorrect. |
static int |
SEND_INTERRUPTED
The send process was interrupted. |
static int |
SET_ERROR_MODE_RESPONSE
Cannot encode binary message into GSM 03.40 PDU format. |
static int |
SET_PDU_RESPONSE
The response from setting PDU mode is invalid. |
static int |
SET_SERVICE_MODE_RESPONSE
Cannot set service mode. |
static int |
SET_SMSC
The set SMSC response is incorrect. |
static int |
SIGNAL_STRENTH_RESPONSE_INCORRECT
Signal Strength response incorrect |
Constructor Summary | |
---|---|
GsmModemException(int errno)
|
|
GsmModemException(int errno,
java.lang.Exception e)
|
Method Summary | |
---|---|
boolean |
isBusyError()
|
java.lang.String |
toString()
Convert error number to string. |
Methods inherited from class ie.ncl.util.ErrorCodeException |
---|
cause, errno |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int PIN_CHECK_RESPONSE
public static final int PIN_SET_RESPONSE
public static final int SET_PDU_RESPONSE
public static final int INVALID_PIN
public static final int GENERIC_SEND_ERROR
public static final int SET_SMSC
public static final int READ_RESPONSE
public static final int DELETE_RESPONSE
public static final int NOT_YET_IMPLEMENTED
public static final int COMMUNICATION_ERROR
public static final int SEND_INTERRUPTED
public static final int PDU_ENCODING_FAILED
public static final int SET_ERROR_MODE_RESPONSE
public static final int SET_SERVICE_MODE_RESPONSE
public static final int GENERIC_ERROR
public static final int DEVICE_NOT_RESPONDING
public static final int IO_ERROR
public static final int NOT_INITIALISED
public static final int LIST_MESSAGES_RESPONSE
public static final int PDU_DECODING_FAILED
public static final int PIN_REQUIRED_BUT_NOT_SPECIFIED
public static final int SIGNAL_STRENTH_RESPONSE_INCORRECT
public static final int ECHO_MISMATCH
public static final int CME_ERROR_BIT
public static final int CME_PHONE_FAILURE
public static final int CME_OPERATION_NOT_ALLOWED
public static final int CME_OPERATION_NOT_SUPPORTED
public static final int CME_SIM_NOT_INSERTED
public static final int CME_SIM_PIN_REQUIRED
public static final int CME_SIM_PUK_REQUIRED
public static final int CME_SIM_FAILURE
public static final int CME_SIM_BUSY
public static final int CME_INCORRECT_PASSWORD
public static final int CME_NOT_FOUND
public static final int CME_TEXT_STRING_TOO_LONG
public static final int CME_DIAL_STRING_TOO_LONG
public static final int CME_NO_NETWORK_SERVICE
public static final int CME_PROTOCOL_STACK_BAD_STATE
public static final int CME_BAD_CELL
public static final int CME_LOST_CELL
public static final int CMS_ERROR_BIT
public static final int CMS_SMS_SERVICE_RESERVED
public static final int CMS_OPERATION_NOT_ALLOWED
public static final int CMS_OPERATION_NOT_SUPPORTED
public static final int CMS_ERROR_304
public static final int CMS_INVALID_TEXT_MODE_PARAM
public static final int CMS_SIM_FAILURE
public static final int CMS_INVALID_MEMORY_INDEX
public static final int CMS_SIM_MEMORY_FULL
public static final int CMS_SC_ADDRESS_UNKNOWN
public static final int CMS_UNALLOCATED_NUMBER
public static final int CMS_OPERATOR_DETERMINED_BARRING
public static final int CMS_CALL_BARRED
public static final int CMS_SM_TRANSFER_REJECTED
public static final int CMS_DESTINATION_OUT_OF_SERVICE
public static final int CMS_UNIDENTIFIED_SUBSCRIBER
public static final int CMS_FACILITY_REJECTED
public static final int CMS_UNKNOWN_SUBSCRIBER
public static final int CMS_NETWORK_OUT_OF_ORDER
public static final int CMS_TEMPORARY_FAILURE
public static final int CMS_NETWORK_CONGESTION
public static final int CMS_RESOURCES_UNAVAILABLE
public static final int CMS_REQUESTED_FACILITY_NOT_SUBSCRIBED
public static final int CMS_REQUEST_FACILITY_NOT_IMPLEMENTED
public static final int CMS_INVALID_SM_TRANSFER_REFERENCE_VALUE
public static final int CMS_INVALID_MESSAGE
public static final int CMS_INVALID_MANDETORY_INFORMATION
public static final int CMS_MESSAGE_TYPE_NOT_IMPLEMENTED
public static final int CMS_MESSAGE_INCOMPATIBLE_WITH_STATE
public static final int CMS_INVALID_INFO_ELEMENT
public static final int CMS_PROTOCOL_ERROR
public static final int CMS_INTERWORKING_UNSPECIFIED
public static final int CMS_UNKNOWN_ERROR
public static final int CMS_DEVICE_NOT_READY
public static final int CMS_SIM_BUSY
Constructor Detail |
---|
public GsmModemException(int errno)
public GsmModemException(int errno, java.lang.Exception e)
Method Detail |
---|
public boolean isBusyError()
public java.lang.String toString()
toString
in class ie.ncl.util.ErrorCodeException
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |