Package eu.europeana.apikey.exception
Class KCClientExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
eu.europeana.api.commons.error.EuropeanaApiException
eu.europeana.apikey.exception.KCClientExistsException
- All Implemented Interfaces:
Serializable
public class KCClientExistsException
extends eu.europeana.api.commons.error.EuropeanaApiException
Exception thrown when we try to create a keycloak client that already exists
- Author:
- Patrick Ehlert Created on 21 jan 2020 Modified on 4 Feb 2021
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionKCClientExistsException(String kcClientId) Instantiates a new Kc client exists 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
-
KCClientExistsException
Instantiates a new Kc client exists exception.- Parameters:
kcClientId- the kc client 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
-