Class BadJWEException

  • All Implemented Interfaces:
    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 Detail

      • BadJWEException

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

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