Class KCClientExistsException

  • All Implemented Interfaces:
    Serializable

    @ResponseStatus(BAD_REQUEST)
    public class KCClientExistsException
    extends ApiKeyException
    Exception thrown when we try to create a keycloak client that already exists
    Author:
    Patrick Ehlert Created on 21 jan 2020
    See Also:
    Serialized Form
    • Constructor Detail

      • KCClientExistsException

        public KCClientExistsException​(String kcClientId)
    • 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)