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

pl.allegro.tech.hermes.domain.oauth.OAuthProviderNotExistsException Maven / Gradle / Ivy

The newest version!
package pl.allegro.tech.hermes.domain.oauth;

import pl.allegro.tech.hermes.api.ErrorCode;
import pl.allegro.tech.hermes.common.exception.HermesException;

public class OAuthProviderNotExistsException extends HermesException {

  public OAuthProviderNotExistsException(String oAuthProviderName) {
    super(String.format("OAuth provider %s does not exist", oAuthProviderName));
  }

  @Override
  public ErrorCode getCode() {
    return ErrorCode.OAUTH_PROVIDER_NOT_EXISTS;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy