Class MissingOpenPgpKeyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jivesoftware.smackx.ox.exception.MissingOpenPgpKeyException
- All Implemented Interfaces:
Serializable
Exception that gets thrown when an operation is missing an OpenPGP key.
- See Also:
-
Constructor Summary
ConstructorDescriptionMissingOpenPgpKeyException
(BareJid owner, org.pgpainless.key.OpenPgpV4Fingerprint fingerprint) Create a newMissingOpenPgpKeyException
.MissingOpenPgpKeyException
(BareJid owner, org.pgpainless.key.OpenPgpV4Fingerprint fingerprint, Throwable e) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MissingOpenPgpKeyException
public MissingOpenPgpKeyException(BareJid owner, org.pgpainless.key.OpenPgpV4Fingerprint fingerprint) Create a newMissingOpenPgpKeyException
.- Parameters:
owner
-BareJid
of the keys owner.fingerprint
-OpenPgpV4Fingerprint
of the missing key.
-
MissingOpenPgpKeyException
public MissingOpenPgpKeyException(BareJid owner, org.pgpainless.key.OpenPgpV4Fingerprint fingerprint, Throwable e)
-
-
Method Details
-
getOwner
Return theBareJid
of the owner of the missing key.- Returns:
- owner of missing key.
-
getFingerprint
Return theOpenPgpV4Fingerprint
of the missing key.- Returns:
OpenPgpV4Fingerprint
of the missing key.
-