jdk/src/share/classes/java/util/prefs/XmlSupport.java
changeset 14014 da3648e13e67
parent 11274 7e7196757acd
child 14342 8435a30053c1
equal deleted inserted replaced
14013:10f55dd791e1 14014:da3648e13e67
    90      * @throws IOException if writing to the specified output stream
    90      * @throws IOException if writing to the specified output stream
    91      *         results in an <tt>IOException</tt>.
    91      *         results in an <tt>IOException</tt>.
    92      * @throws BackingStoreException if preference data cannot be read from
    92      * @throws BackingStoreException if preference data cannot be read from
    93      *         backing store.
    93      *         backing store.
    94      * @throws IllegalStateException if this node (or an ancestor) has been
    94      * @throws IllegalStateException if this node (or an ancestor) has been
    95      *         removed with the {@link #removeNode()} method.
    95      *         removed with the {@link Preferences#removeNode()} method.
    96      */
    96      */
    97     static void export(OutputStream os, final Preferences p, boolean subTree)
    97     static void export(OutputStream os, final Preferences p, boolean subTree)
    98         throws IOException, BackingStoreException {
    98         throws IOException, BackingStoreException {
    99         if (((AbstractPreferences)p).isRemoved())
    99         if (((AbstractPreferences)p).isRemoved())
   100             throw new IllegalStateException("Node has been removed");
   100             throw new IllegalStateException("Node has been removed");