Class ApiKeyExistsException

  • All Implemented Interfaces:
    Serializable

    @ResponseStatus(BAD_REQUEST)
    public class ApiKeyExistsException
    extends ApiKeyException
    Exception thrown when trying to create a new API key for an application name and email address that is already in use
    Author:
    Patrick Ehlert Created on 18 nov 2019
    See Also:
    Serialized Form
    • Constructor Detail

      • ApiKeyExistsException

        public ApiKeyExistsException​(String email,
                                     String appName)
    • 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)