From 5d3646cd3626de1125a51106dc5661adfa0291a5 Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Mon, 7 Mar 2022 11:27:21 +0100 Subject: [PATCH] Add missing @throws documentation --- .../secretkeyring/SecretKeyRingEditorInterface.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pgpainless-core/src/main/java/org/pgpainless/key/modification/secretkeyring/SecretKeyRingEditorInterface.java b/pgpainless-core/src/main/java/org/pgpainless/key/modification/secretkeyring/SecretKeyRingEditorInterface.java index e999a163..ec579c9e 100644 --- a/pgpainless-core/src/main/java/org/pgpainless/key/modification/secretkeyring/SecretKeyRingEditorInterface.java +++ b/pgpainless-core/src/main/java/org/pgpainless/key/modification/secretkeyring/SecretKeyRingEditorInterface.java @@ -348,7 +348,7 @@ public interface SecretKeyRingEditorInterface { * @param secretKeyRingProtector protector to unlock the primary secret key * @param revocationAttributes revocation attributes * @return builder - * @throws PGPException + * @throws PGPException if the revocation signatures cannot be generated */ SecretKeyRingEditorInterface revokeUserIds( @Nonnull SelectUserId userIdSelector, @@ -370,7 +370,7 @@ public interface SecretKeyRingEditorInterface { * @param secretKeyRingProtector protector to unlock the primary secret key * @param subpacketsCallback callback to modify the revocations subpackets * @return builder - * @throws PGPException + * @throws PGPException if the revocation signatures cannot be generated */ SecretKeyRingEditorInterface revokeUserIds( @Nonnull SelectUserId userIdSelector,