Class ExceptionHandlerHelper
- java.lang.Object
-
- org.camunda.bpm.engine.rest.exception.ExceptionHandlerHelper
-
public class ExceptionHandlerHelper extends Object
- Author:
- Svetlana Dorokhova.
-
-
Field Summary
Fields Modifier and Type Field Description protected static ExceptionHandlerHelper
INSTANCE
protected static ExceptionLogger
LOGGER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ExceptionDto
fromException(Throwable e)
static ExceptionHandlerHelper
getInstance()
javax.ws.rs.core.Response
getResponse(Throwable throwable)
javax.ws.rs.core.Response.Status
getStatus(Throwable exception)
javax.ws.rs.core.Response.Status
getStatus(ProcessEngineException exception)
javax.ws.rs.core.Response.Status
getStatus(RestException exception)
-
-
-
Field Detail
-
LOGGER
protected static final ExceptionLogger LOGGER
-
INSTANCE
protected static ExceptionHandlerHelper INSTANCE
-
-
Method Detail
-
getInstance
public static ExceptionHandlerHelper getInstance()
-
getResponse
public javax.ws.rs.core.Response getResponse(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(ProcessEngineException exception)
-
getStatus
public javax.ws.rs.core.Response.Status getStatus(RestException exception)
-
-