2022-02-21 14:16:55 +01:00
|
|
|
// SPDX-FileCopyrightText: 2022 Paul Schaub <vanitasvitae@fsfe.org>
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
package pgp.wkd.cli;
|
|
|
|
|
2022-02-23 19:54:32 +01:00
|
|
|
/**
|
|
|
|
* Exception that gets thrown when an OpenPGP certificate is not carrying a User-ID binding for the email address
|
|
|
|
* that was used to look the certificate up via WKD.
|
|
|
|
*/
|
2022-03-02 18:01:12 +01:00
|
|
|
public class MissingUserIdException extends RuntimeException {
|
2022-02-21 14:16:55 +01:00
|
|
|
|
2022-03-02 18:01:12 +01:00
|
|
|
public static final int ERROR_CODE = 7;
|
|
|
|
|
|
|
|
public MissingUserIdException(String message) {
|
|
|
|
super(message);
|
2022-02-21 14:16:55 +01:00
|
|
|
}
|
|
|
|
}
|