Experts in SMS and MMS Technology. NCLs Provato is an SMS/MMS Gateway supporting  WAP Push, EMS, MMS, SMS, Nokia Smart Messaging, SMPP, CIMD, UCP, MM7, M20, TC35 NCL Technologies Ltd
Provato - SMS MMS Gateway
Mobile Messaging in J2EE & .NET

SwiftNote - Java SMS Toolkit

ie.ncl.sms.modem
Class GsmModemException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ie.ncl.util.ErrorCodeException
              extended by ie.ncl.sms.modem.GsmModemException
All Implemented Interfaces:
java.io.Serializable

public class GsmModemException
extends ie.ncl.util.ErrorCodeException

See Also:
Serialized Form

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

PIN_CHECK_RESPONSE

public static final int PIN_CHECK_RESPONSE
The response from checking PIN is invalid.

See Also:
Constant Field Values

PIN_SET_RESPONSE

public static final int PIN_SET_RESPONSE
The response from setting PIN is invalid.

See Also:
Constant Field Values

SET_PDU_RESPONSE

public static final int SET_PDU_RESPONSE
The response from setting PDU mode is invalid.

See Also:
Constant Field Values

INVALID_PIN

public static final int INVALID_PIN
The PIN is invalid.

See Also:
Constant Field Values

GENERIC_SEND_ERROR

public static final int GENERIC_SEND_ERROR
The send message response is incorrect.

See Also:
Constant Field Values

SET_SMSC

public static final int SET_SMSC
The set SMSC response is incorrect.

See Also:
Constant Field Values

READ_RESPONSE

public static final int READ_RESPONSE
The read message response is incorrect.

See Also:
Constant Field Values

DELETE_RESPONSE

public static final int DELETE_RESPONSE
The delete message response is incorrect.

See Also:
Constant Field Values

NOT_YET_IMPLEMENTED

public static final int NOT_YET_IMPLEMENTED
The method is not yet implemented (software limitation).

See Also:
Constant Field Values

COMMUNICATION_ERROR

public static final int COMMUNICATION_ERROR
A communication error occured

See Also:
Constant Field Values

SEND_INTERRUPTED

public static final int SEND_INTERRUPTED
The send process was interrupted.

See Also:
Constant Field Values

PDU_ENCODING_FAILED

public static final int PDU_ENCODING_FAILED
Cannot encode binary message into GSM 03.40 PDU format.

See Also:
Constant Field Values

SET_ERROR_MODE_RESPONSE

public static final int SET_ERROR_MODE_RESPONSE
Cannot encode binary message into GSM 03.40 PDU format.

See Also:
Constant Field Values

SET_SERVICE_MODE_RESPONSE

public static final int SET_SERVICE_MODE_RESPONSE
Cannot set service mode.

See Also:
Constant Field Values

GENERIC_ERROR

public static final int GENERIC_ERROR
Generic modem error returned.

See Also:
Constant Field Values

DEVICE_NOT_RESPONDING

public static final int DEVICE_NOT_RESPONDING
Generic modem error returned.

See Also:
Constant Field Values

IO_ERROR

public static final int IO_ERROR
IO Exception.

See Also:
Constant Field Values

NOT_INITIALISED

public static final int NOT_INITIALISED
Not initialised.

See Also:
Constant Field Values

LIST_MESSAGES_RESPONSE

public static final int LIST_MESSAGES_RESPONSE
List messages response is invalid.

See Also:
Constant Field Values

PDU_DECODING_FAILED

public static final int PDU_DECODING_FAILED
Cannot decode binary message from GSM 03.40 PDU format.

See Also:
Constant Field Values

PIN_REQUIRED_BUT_NOT_SPECIFIED

public static final int PIN_REQUIRED_BUT_NOT_SPECIFIED
Pin required but not specified.

See Also:
Constant Field Values

SIGNAL_STRENTH_RESPONSE_INCORRECT

public static final int SIGNAL_STRENTH_RESPONSE_INCORRECT
Signal Strength response incorrect

See Also:
Constant Field Values

ECHO_MISMATCH

public static final int ECHO_MISMATCH
Echoed command does not match what was sent

See Also:
Constant Field Values

CME_ERROR_BIT

public static final int CME_ERROR_BIT
Mobile equipment errors (CME).

See Also:
Constant Field Values

CME_PHONE_FAILURE

public static final int CME_PHONE_FAILURE
See Also:
Constant Field Values

CME_OPERATION_NOT_ALLOWED

public static final int CME_OPERATION_NOT_ALLOWED
See Also:
Constant Field Values

CME_OPERATION_NOT_SUPPORTED

public static final int CME_OPERATION_NOT_SUPPORTED
See Also:
Constant Field Values

CME_SIM_NOT_INSERTED

public static final int CME_SIM_NOT_INSERTED
See Also:
Constant Field Values

CME_SIM_PIN_REQUIRED

public static final int CME_SIM_PIN_REQUIRED
See Also:
Constant Field Values

CME_SIM_PUK_REQUIRED

public static final int CME_SIM_PUK_REQUIRED
See Also:
Constant Field Values

CME_SIM_FAILURE

public static final int CME_SIM_FAILURE
See Also:
Constant Field Values

CME_SIM_BUSY

public static final int CME_SIM_BUSY
See Also:
Constant Field Values

CME_INCORRECT_PASSWORD

public static final int CME_INCORRECT_PASSWORD
See Also:
Constant Field Values

CME_NOT_FOUND

public static final int CME_NOT_FOUND
See Also:
Constant Field Values

CME_TEXT_STRING_TOO_LONG

public static final int CME_TEXT_STRING_TOO_LONG
See Also:
Constant Field Values

CME_DIAL_STRING_TOO_LONG

public static final int CME_DIAL_STRING_TOO_LONG
See Also:
Constant Field Values

CME_NO_NETWORK_SERVICE

public static final int CME_NO_NETWORK_SERVICE
See Also:
Constant Field Values

CME_PROTOCOL_STACK_BAD_STATE

public static final int CME_PROTOCOL_STACK_BAD_STATE
See Also:
Constant Field Values

CME_BAD_CELL

public static final int CME_BAD_CELL
See Also:
Constant Field Values

CME_LOST_CELL

public static final int CME_LOST_CELL
See Also:
Constant Field Values

CMS_ERROR_BIT

public static final int CMS_ERROR_BIT
Mobile service Errors (CMS).

See Also:
Constant Field Values

CMS_SMS_SERVICE_RESERVED

public static final int CMS_SMS_SERVICE_RESERVED
See Also:
Constant Field Values

CMS_OPERATION_NOT_ALLOWED

public static final int CMS_OPERATION_NOT_ALLOWED
See Also:
Constant Field Values

CMS_OPERATION_NOT_SUPPORTED

public static final int CMS_OPERATION_NOT_SUPPORTED
See Also:
Constant Field Values

CMS_ERROR_304

public static final int CMS_ERROR_304
See Also:
Constant Field Values

CMS_INVALID_TEXT_MODE_PARAM

public static final int CMS_INVALID_TEXT_MODE_PARAM
See Also:
Constant Field Values

CMS_SIM_FAILURE

public static final int CMS_SIM_FAILURE
See Also:
Constant Field Values

CMS_INVALID_MEMORY_INDEX

public static final int CMS_INVALID_MEMORY_INDEX
See Also:
Constant Field Values

CMS_SIM_MEMORY_FULL

public static final int CMS_SIM_MEMORY_FULL
See Also:
Constant Field Values

CMS_SC_ADDRESS_UNKNOWN

public static final int CMS_SC_ADDRESS_UNKNOWN
See Also:
Constant Field Values

CMS_UNALLOCATED_NUMBER

public static final int CMS_UNALLOCATED_NUMBER
See Also:
Constant Field Values

CMS_OPERATOR_DETERMINED_BARRING

public static final int CMS_OPERATOR_DETERMINED_BARRING
See Also:
Constant Field Values

CMS_CALL_BARRED

public static final int CMS_CALL_BARRED
See Also:
Constant Field Values

CMS_SM_TRANSFER_REJECTED

public static final int CMS_SM_TRANSFER_REJECTED
See Also:
Constant Field Values

CMS_DESTINATION_OUT_OF_SERVICE

public static final int CMS_DESTINATION_OUT_OF_SERVICE
See Also:
Constant Field Values

CMS_UNIDENTIFIED_SUBSCRIBER

public static final int CMS_UNIDENTIFIED_SUBSCRIBER
See Also:
Constant Field Values

CMS_FACILITY_REJECTED

public static final int CMS_FACILITY_REJECTED
See Also:
Constant Field Values

CMS_UNKNOWN_SUBSCRIBER

public static final int CMS_UNKNOWN_SUBSCRIBER
See Also:
Constant Field Values

CMS_NETWORK_OUT_OF_ORDER

public static final int CMS_NETWORK_OUT_OF_ORDER
See Also:
Constant Field Values

CMS_TEMPORARY_FAILURE

public static final int CMS_TEMPORARY_FAILURE
See Also:
Constant Field Values

CMS_NETWORK_CONGESTION

public static final int CMS_NETWORK_CONGESTION
See Also:
Constant Field Values

CMS_RESOURCES_UNAVAILABLE

public static final int CMS_RESOURCES_UNAVAILABLE
See Also:
Constant Field Values

CMS_REQUESTED_FACILITY_NOT_SUBSCRIBED

public static final int CMS_REQUESTED_FACILITY_NOT_SUBSCRIBED
See Also:
Constant Field Values

CMS_REQUEST_FACILITY_NOT_IMPLEMENTED

public static final int CMS_REQUEST_FACILITY_NOT_IMPLEMENTED
See Also:
Constant Field Values

CMS_INVALID_SM_TRANSFER_REFERENCE_VALUE

public static final int CMS_INVALID_SM_TRANSFER_REFERENCE_VALUE
See Also:
Constant Field Values

CMS_INVALID_MESSAGE

public static final int CMS_INVALID_MESSAGE
See Also:
Constant Field Values

CMS_INVALID_MANDETORY_INFORMATION

public static final int CMS_INVALID_MANDETORY_INFORMATION
See Also:
Constant Field Values

CMS_MESSAGE_TYPE_NOT_IMPLEMENTED

public static final int CMS_MESSAGE_TYPE_NOT_IMPLEMENTED
See Also:
Constant Field Values

CMS_MESSAGE_INCOMPATIBLE_WITH_STATE

public static final int CMS_MESSAGE_INCOMPATIBLE_WITH_STATE
See Also:
Constant Field Values

CMS_INVALID_INFO_ELEMENT

public static final int CMS_INVALID_INFO_ELEMENT
See Also:
Constant Field Values

CMS_PROTOCOL_ERROR

public static final int CMS_PROTOCOL_ERROR
See Also:
Constant Field Values

CMS_INTERWORKING_UNSPECIFIED

public static final int CMS_INTERWORKING_UNSPECIFIED
See Also:
Constant Field Values

CMS_UNKNOWN_ERROR

public static final int CMS_UNKNOWN_ERROR
See Also:
Constant Field Values

CMS_DEVICE_NOT_READY

public static final int CMS_DEVICE_NOT_READY
See Also:
Constant Field Values

CMS_SIM_BUSY

public static final int CMS_SIM_BUSY
See Also:
Constant Field Values
Constructor Detail

GsmModemException

public GsmModemException(int errno)

GsmModemException

public GsmModemException(int errno,
                         java.lang.Exception e)
Method Detail

isBusyError

public boolean isBusyError()

toString

public java.lang.String toString()
Convert error number to string.

Overrides:
toString in class ie.ncl.util.ErrorCodeException

Experts in SMS and MMS Technology. NCLs Provato is an SMS/MMS Gateway supporting  WAP Push, EMS, MMS, SMS, Nokia Smart Messaging, SMPP, CIMD, UCP, MM7, M20, TC35 NCL Technologies Ltd
Provato - SMS MMS Gateway
Mobile Messaging in J2EE & .NET

SwiftNote - Java SMS Toolkit