Class ApiKeyNotDeprecatedException

  • All Implemented Interfaces:
    Serializable

    @ResponseStatus(BAD_REQUEST)
    public class ApiKeyNotDeprecatedException
    extends ApiKeyException
    Exception thrown when trying to enable an API key that was not disabled/deprecated
    Author:
    Patrick Ehlert Created on 18 nov 2019
    See Also:
    Serialized Form
    • Constructor Detail

      • ApiKeyNotDeprecatedException

        public ApiKeyNotDeprecatedException​(String id)
    • Method Detail

      • doLogStacktrace

        public boolean doLogStacktrace()
        Overrides:
        doLogStacktrace in class ApiKeyException
        Returns:
        boolean indicating whether the stacktrace of the exception should be logged or not (only works when doLog returns true)