Skip to content

Instantly share code, notes, and snippets.

package com.sd.utils;
@SuppressWarnings("serial")
public class JwtException extends RuntimeException {
public static JwtException invalidAccessToken(String message) {
return new JwtException(message, null);
}
public static JwtException invalidClaims(String message, Throwable cause) {