aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/exception
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2014-10-09 01:37:44 +0200
committerDominik Schürmann <dominik@dominikschuermann.de>2014-10-09 01:37:44 +0200
commit45b02008fba52eaba833009c517afa697d2443f4 (patch)
treedc204f76d6dbd1162e92c3335f322db65249d692 /OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/exception
parentb3f56c927b47565bdaa7e3b4ea2a8a214aa56652 (diff)
downloadopen-keychain-45b02008fba52eaba833009c517afa697d2443f4.tar.gz
open-keychain-45b02008fba52eaba833009c517afa697d2443f4.tar.bz2
open-keychain-45b02008fba52eaba833009c517afa697d2443f4.zip
Replace many PgpGeneralExceptions with PgpKeyNotFoundException
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/exception')
-rw-r--r--OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/exception/PgpKeyNotFoundException.java33
1 files changed, 33 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/exception/PgpKeyNotFoundException.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/exception/PgpKeyNotFoundException.java
new file mode 100644
index 000000000..21a7c0cf0
--- /dev/null
+++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/exception/PgpKeyNotFoundException.java
@@ -0,0 +1,33 @@
+/*
+ * Copyright (C) 2012-2014 Dominik Schürmann <dominik@dominikschuermann.de>
+ * Copyright (C) 2010-2014 Thialfihar <thi@thialfihar.org>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+package org.sufficientlysecure.keychain.pgp.exception;
+
+public class PgpKeyNotFoundException extends Exception {
+ static final long serialVersionUID = 0xf812773342L;
+
+ public PgpKeyNotFoundException(String message) {
+ super(message);
+ }
+ public PgpKeyNotFoundException(String message, Throwable cause) {
+ super(message, cause);
+ }
+ public PgpKeyNotFoundException(Throwable cause) {
+ super(cause);
+ }
+}