Class ExceptionHandlerHelper

java.lang.Object
org.camunda.bpm.engine.rest.exception.ExceptionHandlerHelper

public class ExceptionHandlerHelper extends Object
Author:
Svetlana Dorokhova.
  • Field Details

  • Method Details

    • getInstance

      public static ExceptionHandlerHelper getInstance()
    • getResponse

      public javax.ws.rs.core.Response getResponse(Throwable throwable)
    • provideExceptionCode

      protected void provideExceptionCode(Throwable throwable, ExceptionDto exceptionDto)
    • getCode

      protected Integer getCode(Throwable throwable)
    • fromException

      public ExceptionDto fromException(Throwable e)
    • getStatus

      public javax.ws.rs.core.Response.Status getStatus(Throwable exception)
    • getStatus

      public javax.ws.rs.core.Response.Status getStatus(org.camunda.bpm.engine.ProcessEngineException exception)
    • getStatus

      public javax.ws.rs.core.Response.Status getStatus(RestException exception)