Class MalformedOpenPgpMessageException

  • All Implemented Interfaces:
    java.io.Serializable

    public class MalformedOpenPgpMessageException
    extends java.lang.RuntimeException
    Exception that gets thrown if the OpenPGP message is malformed. Malformed messages are messages which do not follow the grammar specified in the RFC.
    See Also:
    RFC4880 ยง11.3. OpenPGP Messages, Serialized Form
    • Method Summary

      • 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

      • MalformedOpenPgpMessageException

        public MalformedOpenPgpMessageException​(java.lang.String message)
      • MalformedOpenPgpMessageException

        public MalformedOpenPgpMessageException​(org.pgpainless.decryption_verification.syntax_check.State state,
                                                org.pgpainless.decryption_verification.syntax_check.InputSymbol input,
                                                org.pgpainless.decryption_verification.syntax_check.StackSymbol stackItem)