Class ProcessEngineExceptionHandler

  • All Implemented Interfaces:<ProcessEngineException>

    public class ProcessEngineExceptionHandler
    extends java.lang.Object

    Translates any ProcessEngineException to a HTTP 500 error and a JSON response. Response content format: {"type" : "ExceptionType", "message" : "some exception message"}

    Provides dedicated exception handling for AuthorizationExceptions: The status code is always set to 403, "Forbidden" and details about the requested resource and violated permission are added to the response body

    Thorben Lindhauer, Daniel Meyer
    • Constructor Detail

      • ProcessEngineExceptionHandler

        public ProcessEngineExceptionHandler()