equal
deleted
inserted
replaced
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"); |