break;
default:
wapSignal = WapSISignals.NONE;
}
}
msg = new OutboundWapSIMessage(rs.getString("recipient").trim(), new URL(rs.getString("wap_url").trim()), rs.getString("text").trim(), wapExpiryDate, wapSignal);
break;
default:
throw new Exception("Message type '" + rs.getString("type") + "' is unknown!");
}
msg.setPriority(rs.getInt("priority"));