public synchronized PropertyDescriptor[] getPropertyDescriptors() { if (_pds != null) return _pds; _pds = new PropertyDescriptor[_vals.size()]; List<String> failures = null; Value val; for (int i = 0; i < _vals.size(); i++) { val = (Value) _vals.get(i); try { _pds[i] = getPropertyDescriptor(val); } catch (MissingResourceException mre) { if (failures == null) failures = new ArrayList<String>(); failures.add(val.getProperty()); } catch (IntrospectionException ie) { if (failures == null) failures = new ArrayList<String>(); failures.add(val.getProperty()); } } if (failures != null) throw new ParseException(_loc.get("invalid-property-descriptors", failures)); return _pds; }
public synchronized PropertyDescriptor[] getPropertyDescriptors() { if (_pds != null) return _pds; _pds = new PropertyDescriptor[_vals.size()]; List failures = null; Value val; for (int i = 0; i < _vals.size(); i++) { val = (Value) _vals.get(i); try { _pds[i] = getPropertyDescriptor(val); } catch (MissingResourceException mre) { if (failures == null) failures = new ArrayList(); failures.add(val.getProperty()); } catch (IntrospectionException ie) { if (failures == null) failures = new ArrayList(); failures.add(val.getProperty()); } } if (failures != null) throw new ParseException(_loc.get("invalid-property-descriptors", failures)); return _pds; }
public synchronized PropertyDescriptor[] getPropertyDescriptors() { if (_pds != null) return _pds; _pds = new PropertyDescriptor[_vals.size()]; List<String> failures = null; Value val; for (int i = 0; i < _vals.size(); i++) { val = (Value) _vals.get(i); try { _pds[i] = getPropertyDescriptor(val); } catch (MissingResourceException mre) { if (failures == null) failures = new ArrayList<String>(); failures.add(val.getProperty()); } catch (IntrospectionException ie) { if (failures == null) failures = new ArrayList<String>(); failures.add(val.getProperty()); } } if (failures != null) throw new ParseException(_loc.get("invalid-property-descriptors", failures)); return _pds; }
public synchronized PropertyDescriptor[] getPropertyDescriptors() { if (_pds != null) return _pds; _pds = new PropertyDescriptor[_vals.size()]; List<String> failures = null; Value val; for (int i = 0; i < _vals.size(); i++) { val = (Value) _vals.get(i); try { _pds[i] = getPropertyDescriptor(val); } catch (MissingResourceException mre) { if (failures == null) failures = new ArrayList<String>(); failures.add(val.getProperty()); } catch (IntrospectionException ie) { if (failures == null) failures = new ArrayList<String>(); failures.add(val.getProperty()); } } if (failures != null) throw new ParseException(_loc.get("invalid-property-descriptors", failures)); return _pds; }