001package com.nimbusds.jose.proc; 002 003 004/** 005 * Bad JSON Web Encryption (JWE) exception. Used to indicate a JWE-protected 006 * object that couldn't be successfully decrypted or its integrity has been 007 * compromised. 008 * 009 * @author Vladimir Dzhuvinov 010 * @version 2015-06-11 011 */ 012public class BadJWEException extends BadJOSEException { 013 014 015 /** 016 * Creates a new bad JWE exception. 017 * 018 * @param message The exception message. 019 */ 020 public BadJWEException(final String message) { 021 022 super(message); 023 } 024 025 026 /** 027 * Creates a new bad JWE exception. 028 * 029 * @param message The exception message. 030 * @param cause The exception cause. 031 */ 032 public BadJWEException(final String message, final Throwable cause) { 033 034 super(message, cause); 035 } 036}