Class ForbiddenException

  • All Implemented Interfaces:
    Serializable

    @ResponseStatus(FORBIDDEN)
    public class ForbiddenException
    extends ApiKeyException
    Exception thrown when there is not enough information, e.g. to create a new API key
    Author:
    Patrick Ehlert Created on 18 nov 2019
    See Also:
    Serialized Form
    • Constructor Detail

      • ForbiddenException

        public ForbiddenException()
      • ForbiddenException

        public ForbiddenException​(String actionName)
    • 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)