Class BadJWEException

  • All Implemented Interfaces:
    java.io.Serializable

    public class BadJWEException
    extends BadJOSEException
    Bad JSON Web Encryption (JWE) exception. Used to indicate a JWE-protected object that couldn't be successfully decrypted or its integrity has been compromised.
    Version:
    2015-06-11
    Author:
    Vladimir Dzhuvinov
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      BadJWEException​(java.lang.String message)
      Creates a new bad JWE exception.
      BadJWEException​(java.lang.String message, java.lang.Throwable cause)
      Creates a new bad JWE exception.
    • 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

      • BadJWEException

        public BadJWEException​(java.lang.String message)
        Creates a new bad JWE exception.
        Parameters:
        message - The exception message.
      • BadJWEException

        public BadJWEException​(java.lang.String message,
                               java.lang.Throwable cause)
        Creates a new bad JWE exception.
        Parameters:
        message - The exception message.
        cause - The exception cause.