Class KCIdNotEmptyException

  • All Implemented Interfaces:
    Serializable

    @ResponseStatus(BAD_REQUEST)
    public class KCIdNotEmptyException
    extends ApiKeyException
    Exception thrown when we try to recreate a keycloak client for an apikey that already has a keycloakId set
    Author:
    Patrick Ehlert Created on 21 jan 2020
    See Also:
    Serialized Form
    • Constructor Detail

      • KCIdNotEmptyException

        public KCIdNotEmptyException​(String apiKey,
                                     String keycloakId)
    • 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)