Exception Summary
MobileException Occurs when connected mobile phone cannot execute some AT commands, which are necessary for sending or receiving of the messages and ACKs.
PortConnectionException Occurs when the connection with mobile phone using data cable cannot be established. (troubles with 'C' connection). sendMessage() and init() methods of SmsManager class throw this exception.
SendException Method sendMessage() of SmsManager throws this exception when there is an error of sending message (Problems with 'W' connection).
 




Picture above shows data flows thru different connections and corresponding exceptions, which can occurs on different connections

How to solve the problem

PortConnectionException:
  1. Check connection of cable with mobile phone
  2. If exception is thrown by init(Configurator c) check Configurator settings
MobileException: SendException:
  1. Check money on your account
  2. Check wheather the phone is in the GSM network coverage area
  3. Check SMSC number and recipient number