Home
last modified time | relevance | path

Searched refs:BackingStoreException (Results 1 – 16 of 16) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
DMockAbstractPreferences.java24 import java.util.prefs.BackingStoreException;
89 protected String[] childrenNamesSpi() throws BackingStoreException { in childrenNamesSpi()
98 private void checkException() throws BackingStoreException { in checkException()
103 throw new BackingStoreException("test"); in checkException()
117 } catch (BackingStoreException e) { in childSpi()
130 protected void flushSpi() throws BackingStoreException { in flushSpi()
139 } catch (BackingStoreException e) { in getSpi()
148 protected String[] keysSpi() throws BackingStoreException { in keysSpi()
160 } catch (BackingStoreException e) { in putSpi()
169 protected void removeNodeSpi() throws BackingStoreException { in removeNodeSpi()
[all …]
DBackingStoreExceptionTest.java19 import java.util.prefs.BackingStoreException;
33 BackingStoreException e = new BackingStoreException("msg"); in testBackingStoreExceptionString()
43 BackingStoreException e = new BackingStoreException(t); in testBackingStoreExceptionThrowable()
53 SerializationTest.verifySelf(new BackingStoreException("msg")); in testSerializationSelf()
60 SerializationTest.verifyGolden(this, new BackingStoreException("msg")); in testSerializationCompatibility()
DPreferencesTest.java27 import java.util.prefs.BackingStoreException;
96 public void testSystemRoot() throws BackingStoreException { in testSystemRoot()
113 public void testUserNodeForPackage() throws BackingStoreException { in testUserNodeForPackage()
134 public void testUserRoot() throws BackingStoreException { in testUserRoot()
258 public String[] childrenNames() throws BackingStoreException { in childrenNames()
263 public void clear() throws BackingStoreException { in clear()
268 BackingStoreException { in exportNode()
273 BackingStoreException { in exportSubtree()
277 public void flush() throws BackingStoreException { in flush()
321 public String[] keys() throws BackingStoreException { in keys()
[all …]
DAbstractPreferencesTest.java29 import java.util.prefs.BackingStoreException;
105 public void testConstructor() throws BackingStoreException { in testConstructor()
148 public void testProtectedFields() throws BackingStoreException { in testProtectedFields()
181 public void testChildrenNames() throws BackingStoreException { in testChildrenNames()
203 public void testClear() throws BackingStoreException { in testClear()
213 public void testGet() throws BackingStoreException { in testGet()
392 public void testKeys() throws BackingStoreException { in testKeys()
415 public void testCharCase() throws BackingStoreException { in testCharCase()
451 public void testNode() throws BackingStoreException { in testNode()
511 public void testNodeExists() throws BackingStoreException { in testNodeExists()
[all …]
DFilePreferencesImplTest.java21 import java.util.prefs.BackingStoreException;
51 public void testPutGet() throws IOException, BackingStoreException { in testPutGet()
/libcore/ojluni/src/main/java/java/util/prefs/
DFileSystemPreferences.java445 } catch(BackingStoreException e) { in syncWorld()
452 } catch(BackingStoreException e) { in syncWorld()
570 private void loadCache() throws BackingStoreException { in loadCache()
594 throw new BackingStoreException(e); in loadCache()
611 private void writeBackCache() throws BackingStoreException { in writeBackCache()
615 public Void run() throws BackingStoreException { in writeBackCache()
618 throw new BackingStoreException(dir + in writeBackCache()
624 throw new BackingStoreException("Can't rename " + in writeBackCache()
627 if (e instanceof BackingStoreException) in writeBackCache()
628 throw (BackingStoreException)e; in writeBackCache()
[all …]
DPreferences.java604 public abstract void clear() throws BackingStoreException; in clear()
941 public abstract String[] keys() throws BackingStoreException; in keys()
955 public abstract String[] childrenNames() throws BackingStoreException; in childrenNames()
1018 throws BackingStoreException; in nodeExists()
1050 public abstract void removeNode() throws BackingStoreException; in removeNode()
1107 public abstract void flush() throws BackingStoreException; in flush()
1124 public abstract void sync() throws BackingStoreException; in sync()
1240 throws IOException, BackingStoreException; in exportNode()
1272 throws IOException, BackingStoreException; in exportSubtree()
DAbstractPreferences.java342 public void clear() throws BackingStoreException { in clear()
690 public String[] keys() throws BackingStoreException { in keys()
719 public String[] childrenNames() throws BackingStoreException { in childrenNames()
875 throws BackingStoreException in nodeExists()
897 throws BackingStoreException in nodeExists()
949 public void removeNode() throws BackingStoreException { in removeNode()
962 private void removeNode2() throws BackingStoreException { in removeNode2()
979 } catch (BackingStoreException x) { } in removeNode2()
1213 protected abstract void removeNodeSpi() throws BackingStoreException;
1232 protected abstract String[] keysSpi() throws BackingStoreException;
[all …]
DBackingStoreException.java38 public class BackingStoreException extends Exception { class
44 public BackingStoreException(String s) { in BackingStoreException() method in BackingStoreException
53 public BackingStoreException(Throwable cause) { in BackingStoreException() method in BackingStoreException
DXmlSupport.java99 throws IOException, BackingStoreException { in export()
140 Preferences prefs, boolean subTree) throws BackingStoreException in putPreferencesInXml()
/libcore/luni/src/test/java/libcore/java/util/prefs/
DOldAbstractPreferencesTest.java24 import java.util.prefs.BackingStoreException;
78 public void testPut() throws BackingStoreException { in testPut()
128 public void testGet() throws BackingStoreException { in testGet()
155 public void testRemove() throws BackingStoreException { in testRemove()
185 public void testClear() throws BackingStoreException { in testClear()
215 public void testPutInt() throws BackingStoreException { in testPutInt()
252 public void testGetInt() throws BackingStoreException { in testGetInt()
281 public void testPutLong() throws BackingStoreException { in testPutLong()
318 public void testGetLong() throws BackingStoreException { in testGetLong()
347 public void testPutBoolean() throws BackingStoreException { in testPutBoolean()
[all …]
DOldPreferencesTest.java23 import java.util.prefs.BackingStoreException;
76 public void testAbstractMethods() throws IOException, BackingStoreException { in testAbstractMethods()
136 public void testChildrenNames() throws BackingStoreException { in testChildrenNames()
152 public void testClear() throws BackingStoreException { in testClear()
163 public void testGet() throws BackingStoreException { in testGet()
305 public void testKeys() throws BackingStoreException { in testKeys()
328 public void testNode() throws BackingStoreException { in testNode()
369 public void testNodeExists() throws BackingStoreException { in testNodeExists()
417 public void testPut() throws BackingStoreException { in testPut()
594 public void testRemove() throws BackingStoreException { in testRemove()
[all …]
DOldNodeChangeEventTest.java21 import java.util.prefs.BackingStoreException;
49 public void testGetChild() throws BackingStoreException { in testGetChild()
97 public void testGetParent() throws BackingStoreException { in testGetParent()
/libcore/api/
Dcurrent.txt18013 method public String[] childrenNames() throws java.util.prefs.BackingStoreException;
18014 …method protected abstract String[] childrenNamesSpi() throws java.util.prefs.BackingStoreException;
18015 method public void clear() throws java.util.prefs.BackingStoreException;
18016 …blic void exportNode(java.io.OutputStream) throws java.util.prefs.BackingStoreException, java.io.I…
18017 …c void exportSubtree(java.io.OutputStream) throws java.util.prefs.BackingStoreException, java.io.I…
18018 method public void flush() throws java.util.prefs.BackingStoreException;
18019 method protected abstract void flushSpi() throws java.util.prefs.BackingStoreException;
18023 … java.util.prefs.AbstractPreferences getChild(String) throws java.util.prefs.BackingStoreException;
18031 method public String[] keys() throws java.util.prefs.BackingStoreException;
18032 method protected abstract String[] keysSpi() throws java.util.prefs.BackingStoreException;
[all …]
/libcore/
Dopenjdk_java_files.bp1196 "ojluni/src/main/java/java/util/prefs/BackingStoreException.java",
DEXPECTED_UPSTREAM1194 …va/java/util/prefs/BackingStoreException.java,jdk21u/jdk-21.0.4-ga,src/java.prefs/share/classes/ja…