From 45b02008fba52eaba833009c517afa697d2443f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Thu, 9 Oct 2014 01:37:44 +0200 Subject: Replace many PgpGeneralExceptions with PgpKeyNotFoundException --- .../pgp/exception/PgpKeyNotFoundException.java | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/exception/PgpKeyNotFoundException.java (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/exception') 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 + * Copyright (C) 2010-2014 Thialfihar + * + * 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 . + */ + +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); + } +} -- cgit v1.2.3