16 lines
340 B
Java
16 lines
340 B
Java
package fr.cardon.simpleat.exception;
|
|
|
|
/**
|
|
* Specific exception that should be thrown when a JWT has an invalid format.
|
|
*/
|
|
public class InvalidJWTException extends Exception {
|
|
|
|
private static final long serialVersionUID = -6546999838071338632L;
|
|
|
|
@Override
|
|
public String getMessage()
|
|
{
|
|
return "Le format JWT est invalide !";
|
|
}
|
|
|
|
}
|