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.OpenPgpV4Fingerprint
getFingerprint()
Return theOpenPgpV4Fingerprint
of the missing key.BareJid
getOwner()
Return theBareJid
of 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
-BareJid
of the keys owner.fingerprint
-OpenPgpV4Fingerprint
of the missing key.
-
MissingOpenPgpKeyException
public MissingOpenPgpKeyException(BareJid owner, org.pgpainless.key.OpenPgpV4Fingerprint fingerprint, Throwable e)
-
-
Method Detail
-
getOwner
public BareJid getOwner()
Return theBareJid
of the owner of the missing key.- Returns:
- owner of missing key.
-
getFingerprint
public org.pgpainless.key.OpenPgpV4Fingerprint getFingerprint()
Return theOpenPgpV4Fingerprint
of the missing key.- Returns:
OpenPgpV4Fingerprint
of the missing key.
-
-