From cd5e5487a806861be39596cbc2a7e68157a381ed Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Wed, 29 Mar 2017 16:48:27 +0100 Subject: [PATCH] JournalManager: make IntegrityException inherit from GeneralSecurityException. --- .../com/etesync/syncadapter/journalmanager/Exceptions.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/etesync/syncadapter/journalmanager/Exceptions.java b/app/src/main/java/com/etesync/syncadapter/journalmanager/Exceptions.java index 38670bf3..123b728a 100644 --- a/app/src/main/java/com/etesync/syncadapter/journalmanager/Exceptions.java +++ b/app/src/main/java/com/etesync/syncadapter/journalmanager/Exceptions.java @@ -3,6 +3,7 @@ package com.etesync.syncadapter.journalmanager; import java.io.IOException; import java.io.Serializable; import java.net.HttpURLConnection; +import java.security.GeneralSecurityException; import at.bitfire.cert4android.Constants; import okhttp3.Headers; @@ -38,7 +39,7 @@ public class Exceptions { } } - public static class IntegrityException extends Exception { + public static class IntegrityException extends GeneralSecurityException { public IntegrityException(String message) { super(message); }