示例#1
0
 public void setValidityPeriod(String value) throws WrongDateFormatException {
   try {
     checkDate(value);
   } catch (WrongDateFormatException e) {
     e.setErrorCode(Data.ESME_RINVEXPIRY);
     throw e;
   }
   validityPeriod = value;
 }
示例#2
0
 public void setScheduleDeliveryTime(String value) throws WrongDateFormatException {
   try {
     checkDate(value);
   } catch (WrongDateFormatException e) {
     e.setErrorCode(Data.ESME_RINVSCHED);
     throw e;
   }
   scheduleDeliveryTime = value;
 }