1
0
mirror of https://github.com/etesync/android synced 2024-11-16 04:49:06 +00:00

JournalManager: make IntegrityException inherit from GeneralSecurityException.

This commit is contained in:
Tom Hacohen 2017-03-29 16:48:27 +01:00
parent cf805d4e72
commit cd5e5487a8

View File

@ -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);
}