Package eu.europeana.apikey.exception
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 Summary
ConstructorsConstructorDescriptionInstantiates a new Api key not found exception. -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.springframework.http.HttpStatusMethods inherited from class eu.europeana.api.commons.error.EuropeanaApiException
doExposeMessage, doLog, getErrorCodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ApiKeyNotFoundException
Instantiates a new Api key not found exception.- Parameters:
id- the id
-
-
Method Details
-
doLogStacktrace
public boolean doLogStacktrace()- Overrides:
doLogStacktracein classeu.europeana.api.commons.error.EuropeanaApiException
-
getResponseStatus
public org.springframework.http.HttpStatus getResponseStatus()- Overrides:
getResponseStatusin classeu.europeana.api.commons.error.EuropeanaApiException
-