Class KCClientExistsException

java.lang.Object
java.lang.Throwable
java.lang.Exception
eu.europeana.api.commons.error.EuropeanaApiException
eu.europeana.apikey.exception.KCClientExistsException
All Implemented Interfaces:
Serializable

public class KCClientExistsException extends eu.europeana.api.commons.error.EuropeanaApiException
Exception thrown when we try to create a keycloak client that already exists
Author:
Patrick Ehlert Created on 21 jan 2020 Modified on 4 Feb 2021
See Also:
  • Constructor Details

    • KCClientExistsException

      public KCClientExistsException(String kcClientId)
      Instantiates a new Kc client exists exception.
      Parameters:
      kcClientId - the kc client id
  • Method Details

    • doLogStacktrace

      public boolean doLogStacktrace()
      Overrides:
      doLogStacktrace in class eu.europeana.api.commons.error.EuropeanaApiException
    • getResponseStatus

      public org.springframework.http.HttpStatus getResponseStatus()
      Overrides:
      getResponseStatus in class eu.europeana.api.commons.error.EuropeanaApiException