Class ApiKeyNotFoundException

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

public class ApiKeyNotFoundException extends eu.europeana.api.commons.error.EuropeanaApiException
Exception thrown when there the requested API key cannot be found
Author:
Patrick Ehlert Created on 18 nov 2019 Modified on 4 Feb 2021
See Also:
  • Constructor Details

    • ApiKeyNotFoundException

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