for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
package unicon.matthews.security.exception;
import org.springframework.security.core.AuthenticationException;
import unicon.matthews.security.model.token.JwtToken;
/**
*
* @author vladimir.stankovic
* Aug 3, 2016
*/
public class JwtExpiredTokenException extends AuthenticationException {
private static final long serialVersionUID = -5959543783324224864L;
private JwtToken token;
token
public JwtExpiredTokenException(String msg) {
super(msg);
}
public JwtExpiredTokenException(JwtToken token, String msg, Throwable t) {
super(msg, t);
this.token = token;
public String token() {
return this.token.getToken();