Package eu.europeana.apikey.exception
Class MissingDataException
java.lang.Object
java.lang.Throwable
java.lang.Exception
eu.europeana.api.commons.error.EuropeanaApiException
eu.europeana.apikey.exception.MissingDataException
- All Implemented Interfaces:
Serializable
public class MissingDataException
extends eu.europeana.api.commons.error.EuropeanaApiException
Exception thrown when there is not enough information, e.g. to create a new API key
- Author:
- Patrick Ehlert Created on 18 nov 2019 Modified on 4 Feb 2021
- See Also:
-
Constructor Summary
Constructors -
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
-
MissingDataException
Instantiates a new Missing data exception.- Parameters:
msg- the msg
-
-
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
-