corrected class info of NullPointerException messages

This commit is contained in:
Desiree Sacher 2013-10-12 15:32:45 +02:00
parent ed4c8cd799
commit 4f49216103

View File

@ -66,13 +66,13 @@ public class SmsTransport {
sentIntents.get(i),
deliveredIntents == null ? null : deliveredIntents.get(i));
} catch (NullPointerException npe) {
Log.w("SmsSender", npe);
Log.w("SmsTransport", npe);
Log.w("SmsTransport", "Recipient: " + message.getIndividualRecipient().getNumber());
Log.w("SmsTransport", "Message Total Parts/Current: " + messages.size() + "/" + i);
Log.w("SmsTransport", "Message Part Length: " + messages.get(i).getBytes().length);
throw new UndeliverableMessageException(npe);
} catch (IllegalArgumentException iae) {
Log.w("SmsSender", iae);
Log.w("SmsTransport", iae);
throw new UndeliverableMessageException(iae);
}
}