Package eu.europeana.apikey.exception
Class MissingDataException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- eu.europeana.apikey.exception.ApiKeyException
-
- eu.europeana.apikey.exception.MissingDataException
-
- All Implemented Interfaces:
Serializable
@ResponseStatus(BAD_REQUEST) public class MissingDataException extends ApiKeyException
Exception thrown when there is not enough information, e.g. to create a new API key- Author:
- Patrick Ehlert Created on 18 nov 2019
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MissingDataException(String error, String details)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandoLogStacktrace()-
Methods inherited from class eu.europeana.apikey.exception.ApiKeyException
doLog, getError, getMessage, getStatus, getTimestamp
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
doLogStacktrace
public boolean doLogStacktrace()
- Overrides:
doLogStacktracein classApiKeyException- Returns:
- boolean indicating whether the stacktrace of the exception should be logged or not (only works when doLog returns true)
-
-