
com.atlassian.asap.core.exception.TokenExpiredException Maven / Gradle / Ivy
package com.atlassian.asap.core.exception;
import java.time.Instant;
import com.atlassian.asap.api.exception.InvalidTokenException;
/**
* Thrown if the token timestamps show that it has expired.
*/
public class TokenExpiredException extends InvalidTokenException
{
public TokenExpiredException(Instant expiredAt, Instant now)
{
super(String.format("Expired at %s and time is now %s", expiredAt, now));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy