class ProcessInstanceManagementResource extends BaseProcessInstanceManagementResource<Response> {

    @Override
    @GET
    @Path("{processId}/instances/{processInstanceId}/error")
    @Produces(MediaType.APPLICATION_JSON)
    public Response getInstanceInError(@PathParam("processId") String processId, @PathParam("processInstanceId") String processInstanceId) {
        return doGetInstanceInError(processId, processInstanceId);
    }

    public  ProcessInstanceManagementResource();
    @Inject public  ProcessInstanceManagementResource(Processes processes, Application application);

}