Class MissingOpenPgpKeyException

  • All Implemented Interfaces:
    java.io.Serializable

    public class MissingOpenPgpKeyException
    extends java.lang.Exception
    Exception that gets thrown when an operation is missing an OpenPGP key.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.pgpainless.key.OpenPgpV4Fingerprint getFingerprint()
      Return the OpenPgpV4Fingerprint of the missing key.
      org.jxmpp.jid.BareJid getOwner()
      Return the BareJid 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MissingOpenPgpKeyException

        public MissingOpenPgpKeyException​(org.jxmpp.jid.BareJid owner,
                                          org.pgpainless.key.OpenPgpV4Fingerprint fingerprint)
        Parameters:
        owner - BareJid of the keys owner.
        fingerprint - OpenPgpV4Fingerprint of the missing key.
      • MissingOpenPgpKeyException

        public MissingOpenPgpKeyException​(org.jxmpp.jid.BareJid owner,
                                          org.pgpainless.key.OpenPgpV4Fingerprint fingerprint,
                                          java.lang.Throwable e)
    • Method Detail

      • getOwner

        public org.jxmpp.jid.BareJid getOwner()
        Return the BareJid of the owner of the missing key.
        Returns:
        owner of missing key.
      • getFingerprint

        public org.pgpainless.key.OpenPgpV4Fingerprint getFingerprint()
        Return the OpenPgpV4Fingerprint of the missing key.
        Returns:
        OpenPgpV4Fingerprint of the missing key.