}
catch (Exception e)
{
// PduFactory will give an exception
// for PDUs it can't understand
UnknownMessage msg;
msg = new UnknownMessage(pduString, memIndex, getATHandler().getStorageLocations().substring((ml * 2), (ml * 2) + 2));
msg.setGatewayId(getGatewayId());
msgList.add(msg);
incInboundMessageCount();
Logger.getInstance().logError("Unhandled SMS in inbox, skipping...", e, getGatewayId());
Logger.getInstance().logError("ERROR PDU: " + pduString, null, getGatewayId());
}