com.auth0.jwt.exceptions.SignatureGenerationException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-jwt Show documentation
Show all versions of java-jwt Show documentation
Java implementation of JSON Web Token (JWT)
package com.auth0.jwt.exceptions;
import com.auth0.jwt.algorithms.Algorithm;
/**
* The exception that is thrown when signature is not able to be generated.
*/
public class SignatureGenerationException extends JWTCreationException {
public SignatureGenerationException(Algorithm algorithm, Throwable cause) {
super("The Token's Signature couldn't be generated when signing using the Algorithm: " + algorithm, cause);
}
}