001package com.nimbusds.openid.connect.provider.spi.tokens; 002 003 004/** 005 * Token decode exception. 006 */ 007public class TokenDecodeException extends Exception { 008 009 010 /** 011 * Creates a new token decode exception. 012 * 013 * @param message The exception message. 014 */ 015 public TokenDecodeException(final String message) { 016 017 super(message); 018 } 019 020 021 /** 022 * Creates a new token decode exception. 023 * 024 * @param message The exception message. 025 * @param cause The exception cause, {@code null} if not specified. 026 */ 027 public TokenDecodeException(final String message, final Throwable cause) { 028 029 super(message, cause); 030 } 031}