dlr.submitCount = Integer.parseInt(fieldValue); } catch (NumberFormatException e) { throw new DeliveryReceiptException( "Unable to convert [sub] field with value [" + fieldValue + "] into an integer"); dlr.deliveredCount = Integer.parseInt(fieldValue); } catch (NumberFormatException e) { throw new DeliveryReceiptException( "Unable to convert [dlvrd] field with value [" + fieldValue + "] into an integer"); dlr.submitDate = parseDateTimeHelper(fieldValue, zone); } catch (IllegalArgumentException e) { throw new DeliveryReceiptException( "Unable to convert [submit date] field with value [" + fieldValue dlr.doneDate = parseDateTimeHelper(fieldValue, zone); } catch (IllegalArgumentException e) { throw new DeliveryReceiptException( "Unable to convert [done date] field with value [" + fieldValue dlr.state = DeliveryReceipt.toState(fieldValue); if (dlr.state < 0) { throw new DeliveryReceiptException( "Unable to convert [stat] field with value [" + fieldValue + "] into a valid state");
dlr.submitCount = Integer.parseInt(fieldValue); } catch (NumberFormatException e) { throw new DeliveryReceiptException( "Unable to convert [sub] field with value [" + fieldValue + "] into an integer"); dlr.deliveredCount = Integer.parseInt(fieldValue); } catch (NumberFormatException e) { throw new DeliveryReceiptException( "Unable to convert [dlvrd] field with value [" + fieldValue + "] into an integer"); dlr.submitDate = parseDateTimeHelper(fieldValue, zone); } catch (IllegalArgumentException e) { throw new DeliveryReceiptException( "Unable to convert [submit date] field with value [" + fieldValue dlr.doneDate = parseDateTimeHelper(fieldValue, zone); } catch (IllegalArgumentException e) { throw new DeliveryReceiptException( "Unable to convert [done date] field with value [" + fieldValue dlr.state = DeliveryReceipt.toState(fieldValue); if (dlr.state < 0) { throw new DeliveryReceiptException( "Unable to convert [stat] field with value [" + fieldValue + "] into a valid state");
dlr.submitCount = Integer.parseInt(fieldValue); } catch (NumberFormatException e) { throw new DeliveryReceiptException( "Unable to convert [sub] field with value [" + fieldValue + "] into an integer"); dlr.deliveredCount = Integer.parseInt(fieldValue); } catch (NumberFormatException e) { throw new DeliveryReceiptException( "Unable to convert [dlvrd] field with value [" + fieldValue + "] into an integer"); dlr.submitDate = parseDateTimeHelper(fieldValue, zone); } catch (IllegalArgumentException e) { throw new DeliveryReceiptException( "Unable to convert [submit date] field with value [" + fieldValue dlr.doneDate = parseDateTimeHelper(fieldValue, zone); } catch (IllegalArgumentException e) { throw new DeliveryReceiptException( "Unable to convert [done date] field with value [" + fieldValue dlr.state = DeliveryReceipt.toState(fieldValue); if (dlr.state < 0) { throw new DeliveryReceiptException( "Unable to convert [stat] field with value [" + fieldValue + "] into a valid state");
} catch (NumberFormatException e) { if (validateFields) { throw new DeliveryReceiptException( "Unable to convert [sub] field with value [" + fieldValue + "] into an integer"); } catch (NumberFormatException e) { if (validateFields) { throw new DeliveryReceiptException( "Unable to convert [dlvrd] field with value [" + fieldValue + "] into an integer"); } catch (IllegalArgumentException e) { if (validateFields) { throw new DeliveryReceiptException( "Unable to convert [submit date] field with value [" + fieldValue } catch (IllegalArgumentException e) { if (validateFields) { throw new DeliveryReceiptException( "Unable to convert [done date] field with value [" + fieldValue dlr.state = DeliveryReceipt.toState(fieldValue); if (dlr.state < 0 && validateFields) { throw new DeliveryReceiptException( "Unable to convert [stat] field with value [" + fieldValue + "] into a valid state");