Package eu.europeana.apikey.exception
Class ApiKeyDeprecatedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- eu.europeana.apikey.exception.ApiKeyException
-
- eu.europeana.apikey.exception.ApiKeyDeprecatedException
-
- All Implemented Interfaces:
Serializable
@ResponseStatus(GONE) public class ApiKeyDeprecatedException extends ApiKeyException
Exception thrown when trying to perform an action on a deprecated API key- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ApiKeyDeprecatedException(String id)
-
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
-
-
-
-
Constructor Detail
-
ApiKeyDeprecatedException
public ApiKeyDeprecatedException(String id)
-
-
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)
-
-