001package com.nimbusds.jose.proc; 002 003 004/** 005 * Bad JSON Web Signature (JWS) exception. Used to indicate an invalid 006 * signature or hash-based message authentication code (HMAC). 007 * 008 * @author Vladimir Dzhuvinov 009 * @version 2015-06-11 010 */ 011public class BadJWSException extends BadJOSEException { 012 013 014 /** 015 * Creates a new bad JWS exception. 016 * 017 * @param message The exception message. 018 */ 019 public BadJWSException(final String message) { 020 021 super(message); 022 } 023 024 025 /** 026 * Creates a new bad JWS exception. 027 * 028 * @param message The exception message. 029 * @param cause The exception cause. 030 */ 031 public BadJWSException(final String message, final Throwable cause) { 032 033 super(message, cause); 034 } 035}