176177178179180181182183
return (result); } catch (ParseException ex) { throw new MPXJException("Failed to parse float", ex); } }
233234235236237238239240
return (result); } catch (ParseException ex) { throw new MPXJException("Failed to parse date time", ex); } }
266267268269270271272273
return (result); } catch (ParseException ex) { throw new MPXJException("Failed to parse date", ex); } }
299300301302303304305306
return (result); } catch (ParseException ex) { throw new MPXJException("Failed to parse time", ex); } }
361362363364365366367368369370371
result = new Rate(amount, units); } catch (ParseException ex) { throw new MPXJException("Failed to parse rate", ex); } } else { result = null;
394395396397398399400401402403404
result = m_formats.getCurrencyFormat().parse(m_fields[field]); } catch (ParseException ex) { throw new MPXJException("Failed to parse currency", ex); } } else { result = null;
427428429430431432433434435436437
result = m_formats.getPercentageDecimalFormat().parse(m_fields[field]); } catch (ParseException ex) { throw new MPXJException("Failed to parse percentage", ex); } } else { result = null;
485486487488489490491492493494495
result = Double.valueOf(m_formats.getUnitsDecimalFormat().parse(m_fields[field]).doubleValue() * 100); } catch (ParseException ex) { throw new MPXJException("Failed to parse units", ex); } } else { result = null;
232233234235236237238239240241
{ Integer result = m_taskNumbers.get(field.trim()); if (result == null) { throw new MPXJException(MPXJException.INVALID_TASK_FIELD_NAME + " " + field); } return (result.intValue()); }