Class MissingOpenPgpKeyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.jivesoftware.smackx.ox.exception.MissingOpenPgpKeyException
-
- All Implemented Interfaces:
Serializable
public class MissingOpenPgpKeyException extends Exception
Exception that gets thrown when an operation is missing an OpenPGP key.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MissingOpenPgpKeyException(BareJid owner, org.pgpainless.key.OpenPgpV4Fingerprint fingerprint)Create a newMissingOpenPgpKeyException.MissingOpenPgpKeyException(BareJid owner, org.pgpainless.key.OpenPgpV4Fingerprint fingerprint, Throwable e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.pgpainless.key.OpenPgpV4FingerprintgetFingerprint()Return theOpenPgpV4Fingerprintof the missing key.BareJidgetOwner()Return theBareJidof the owner of the missing key.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MissingOpenPgpKeyException
public MissingOpenPgpKeyException(BareJid owner, org.pgpainless.key.OpenPgpV4Fingerprint fingerprint)
Create a newMissingOpenPgpKeyException.- Parameters:
owner-BareJidof the keys owner.fingerprint-OpenPgpV4Fingerprintof the missing key.
-
MissingOpenPgpKeyException
public MissingOpenPgpKeyException(BareJid owner, org.pgpainless.key.OpenPgpV4Fingerprint fingerprint, Throwable e)
-
-
Method Detail
-
getOwner
public BareJid getOwner()
Return theBareJidof the owner of the missing key.- Returns:
- owner of missing key.
-
getFingerprint
public org.pgpainless.key.OpenPgpV4Fingerprint getFingerprint()
Return theOpenPgpV4Fingerprintof the missing key.- Returns:
OpenPgpV4Fingerprintof the missing key.
-
-