Class ExceptionHandlerHelper

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

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

  • Method Details

    • getResponse

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

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

      protected static Integer getCode(Throwable throwable)
    • fromException

      public static ExceptionDto fromException(Throwable e)
    • getStatus

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

      public static jakarta.ws.rs.core.Response.Status getStatus(ProcessEngineException exception)
    • getStatus

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