001package com.nimbusds.jwt.proc; 002 003 004import com.nimbusds.jose.proc.BadJOSEException; 005 006 007/** 008 * Bad JSON Web Token (JWT) exception. 009 * 010 * @author Vladimir Dzhuvinov 011 * @version 2015-06-29 012 */ 013public class BadJWTException extends BadJOSEException { 014 015 016 /** 017 * Creates a new bad JWT exception. 018 * 019 * @param message The exception message. 020 */ 021 public BadJWTException(final String message) { 022 023 super(message); 024 } 025 026 027 /** 028 * Creates a new bad JWT exception. 029 * 030 * @param message The exception message. 031 * @param cause The exception cause. 032 */ 033 public BadJWTException(final String message, final Throwable cause) { 034 035 super(message, cause); 036 } 037}