Class ApiKeyDeprecatedException

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

public class ApiKeyDeprecatedException extends eu.europeana.api.commons.error.EuropeanaApiException
Exception thrown when trying to perform an action on a deprecated API key
See Also:
  • Constructor Details

    • ApiKeyDeprecatedException

      public ApiKeyDeprecatedException(String id)
      Instantiates a new Api key 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