All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ru.foodtechlab.lib.auth.service.domain.token.exception.RefreshTokenExpiredException Maven / Gradle / Ivy

There is a newer version: 4.1.0
Show newest version
package ru.foodtechlab.lib.auth.service.domain.token.exception;

import com.rcore.domain.commons.exception.BadRequestDomainException;
import ru.foodtechlab.lib.auth.service.domain.Domain;

public class RefreshTokenExpiredException extends BadRequestDomainException {

    public RefreshTokenExpiredException(String id) {
        super(new Error(
                Domain.REFRESH_TOKEN,
                TokenErrorReason.REFRESH_TOKEN_IS_EXPIRED.name(),
                "Refresh token " + id + " is expired"
        ));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy