Replace PgpGeneralException with NotFoundException where appropriate

This commit is contained in:
Dominik Schürmann
2014-10-09 00:58:07 +02:00
parent 3165f3ffa8
commit 49b4ff6312
20 changed files with 119 additions and 150 deletions

View File

@@ -57,7 +57,7 @@ public class ExportHelper {
DeleteKeyDialogFragment deleteKeyDialog = DeleteKeyDialogFragment.newInstance(messenger,
new long[]{ masterKeyId });
deleteKeyDialog.show(mActivity.getSupportFragmentManager(), "deleteKeyDialog");
} catch (PgpGeneralException e) {
} catch (ProviderHelper.NotFoundException e) {
Log.e(Constants.TAG, "key not found!", e);
}
}