Class ExceptionHandler
java.lang.Object
org.camunda.bpm.engine.rest.exception.ExceptionHandler
- All Implemented Interfaces:
 jakarta.ws.rs.ext.ExceptionMapper<Throwable>
@Provider
public class ExceptionHandler
extends Object
implements jakarta.ws.rs.ext.ExceptionMapper<Throwable>
Translates any 
Throwable to a HTTP 500 error and a JSON response.
 Response content format: {"type" : "ExceptionType", "message" : "some exception message"}- Author:
 - nico.rehwaldt
 
- 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
ExceptionHandler
public ExceptionHandler() 
 - 
 - 
Method Details
- 
toResponse
- Specified by:
 toResponsein interfacejakarta.ws.rs.ext.ExceptionMapper<Throwable>
 
 -