Class ApiKeyNotDeprecatedException

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

public class ApiKeyNotDeprecatedException extends eu.europeana.api.commons.error.EuropeanaApiException
Exception thrown when trying to enable an API key that was not disabled/deprecated
Author:
Patrick Ehlert Created on 18 nov 2019 Modified on 4 Feb 2021
See Also:
  • Constructor Details

    • ApiKeyNotDeprecatedException

      public ApiKeyNotDeprecatedException(String id)
      Instantiates a new Api key not deprecated exception.
      Parameters:
      id - the 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