Package org.pgpainless.exception
Class KeyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.pgpainless.exception.KeyException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
KeyException.ExpiredKeyException,KeyException.MissingSecretKeyException,KeyException.PublicKeyAlgorithmPolicyException,KeyException.RevokedKeyException,KeyException.UnacceptableEncryptionKeyException,KeyException.UnacceptableSelfSignatureException,KeyException.UnacceptableSigningKeyException,KeyException.UnboundUserIdException
public abstract class KeyException extends RuntimeException
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKeyException.ExpiredKeyExceptionstatic classKeyException.MissingSecretKeyExceptionstatic classKeyException.PublicKeyAlgorithmPolicyExceptionstatic classKeyException.RevokedKeyExceptionstatic classKeyException.UnacceptableEncryptionKeyExceptionstatic classKeyException.UnacceptableSelfSignatureExceptionstatic classKeyException.UnacceptableSigningKeyExceptionstatic classKeyException.UnboundUserIdException
-
Constructor Summary
Constructors Modifier Constructor Description protectedKeyException(String message, OpenPgpFingerprint fingerprint)protectedKeyException(String message, OpenPgpFingerprint fingerprint, Throwable underlying)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenPgpFingerprintgetFingerprint()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
KeyException
protected KeyException(@Nonnull String message, @Nonnull OpenPgpFingerprint fingerprint)
-
KeyException
protected KeyException(@Nonnull String message, @Nonnull OpenPgpFingerprint fingerprint, @Nonnull Throwable underlying)
-
-
Method Detail
-
getFingerprint
public OpenPgpFingerprint getFingerprint()
-
-