Changeset 9783 in josm for trunk/src/org/openstreetmap/josm/data/preferences
- Timestamp:
- 2016-02-10T23:57:06+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/preferences/PreferencesReader.java
r9780 r9783 18 18 import java.util.SortedMap; 19 19 import java.util.TreeMap; 20 20 21 import javax.xml.XMLConstants; 21 22 import javax.xml.stream.XMLInputFactory; … … 44 45 * Validate the XML. 45 46 * @param f the file 46 * @throws java.io.IOException47 * @throws org.xml.sax.SAXException47 * @throws IOException if any I/O error occurs 48 * @throws SAXException if any SAX error occurs 48 49 */ 49 50 public static void validateXML(File f) throws IOException, SAXException { … … 56 57 * Validate the XML. 57 58 * @param in the {@link Reader} 58 * @throws java.io.IOException59 * @throws org.xml.sax.SAXException59 * @throws IOException if any I/O error occurs 60 * @throws SAXException if any SAX error occurs 60 61 */ 61 62 public static void validateXML(Reader in) throws IOException, SAXException { … … 70 71 * Parse preferences XML. 71 72 * @param f the file 72 * @throws IOException 73 * @throws XMLStreamException 73 * @throws IOException if any I/O error occurs 74 * @throws XMLStreamException if any XML stream error occurs 74 75 */ 75 76 public void fromXML(File f) throws IOException, XMLStreamException { … … 82 83 * Parse preferences XML. 83 84 * @param in the {@link Reader} 84 * @throws XMLStreamException 85 * @throws XMLStreamException if any XML stream error occurs 85 86 */ 86 87 public void fromXML(Reader in) throws XMLStreamException {
Note:
See TracChangeset
for help on using the changeset viewer.