public class ExceptionHandlerHelper extends Object
Modifier and Type | Field and Description |
---|---|
protected static ExceptionHandlerHelper |
INSTANCE |
protected static ExceptionLogger |
LOGGER |
Modifier and Type | Method and Description |
---|---|
ExceptionDto |
fromException(Throwable e) |
static ExceptionHandlerHelper |
getInstance() |
javax.ws.rs.core.Response |
getResponse(Throwable throwable) |
javax.ws.rs.core.Response.Status |
getStatus(ProcessEngineException exception) |
javax.ws.rs.core.Response.Status |
getStatus(RestException exception) |
javax.ws.rs.core.Response.Status |
getStatus(Throwable exception) |
protected static final ExceptionLogger LOGGER
protected static ExceptionHandlerHelper INSTANCE
public static ExceptionHandlerHelper getInstance()
public javax.ws.rs.core.Response getResponse(Throwable throwable)
public ExceptionDto fromException(Throwable e)
public javax.ws.rs.core.Response.Status getStatus(Throwable exception)
public javax.ws.rs.core.Response.Status getStatus(ProcessEngineException exception)
public javax.ws.rs.core.Response.Status getStatus(RestException exception)
Copyright © 2022. All rights reserved.