Package eu.europeana.apikey.exception
Class MissingKCClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
eu.europeana.api.commons.error.EuropeanaApiException
eu.europeana.apikey.exception.MissingKCClientException
- All Implemented Interfaces:
Serializable
public class MissingKCClientException
extends eu.europeana.api.commons.error.EuropeanaApiException
Exception thrown when the keycloak client could not be found
- Author:
- Patrick Ehlert Created on 18 nov 2019 Mofified on 4 Feb 2021
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMissingKCClientException(String apiKey) Instantiates a new Missing kc client 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
-
MissingKCClientException
Instantiates a new Missing kc client exception.- Parameters:
apiKey- the api key
-
-
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
-