Home
last modified time | relevance | path

Searched refs:PersistenceException (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Permission/SafetyCenter/Persistence/java/com/android/safetycenter/persistence/
DSafetyCenterIssuesPersistence.java83 public static List<PersistedSafetyCenterIssue> read(File file) throws PersistenceException { in read()
93 throw new PersistenceException("Failed to read file: " + file, e); in read()
98 throws IOException, PersistenceException, XmlPullParserException { in parseXml()
100 throw new PersistenceException("Unexpected parser state"); in parseXml()
109 throw new PersistenceException("Unexpected extra root element"); in parseXml()
115 throws IOException, PersistenceException, XmlPullParserException { in parseIssues()
127 throw new PersistenceException("Missing version"); in parseIssues()
130 throw new PersistenceException("Unsupported version: " + version); in parseIssues()
144 throws IOException, PersistenceException, XmlPullParserException { in parseIssue()
190 throw new PersistenceException("Element issue invalid", e); in parseIssue()
[all …]
DPersistenceException.java25 public final class PersistenceException extends Exception { class
27 public PersistenceException(String message) { in PersistenceException() method in PersistenceException
31 public PersistenceException(String message, Throwable ex) { in PersistenceException() method in PersistenceException
/packages/modules/Permission/SafetyCenter/Persistence/tests/java/com/android/safetycenter/persistence/
DPersistenceExceptionTest.kt32 val exception = PersistenceException(message) in propagatesMessage()
43 val exception = PersistenceException(message, cause) in propagatesMessageAndCause()
DSafetyCenterIssuesPersistenceInvalidTest.kt46 assertThrows(PersistenceException::class.java) { in toString()
/packages/modules/Permission/service/java/com/android/safetycenter/data/
DSafetyCenterIssueDismissalRepository.java39 import com.android.safetycenter.persistence.PersistenceException;
498 } catch (PersistenceException e) { in loadStateFromFile()