private Response createExceptionResponse(final Response.Status status,
                                                 final Throwable throwable) {
            LOGGER.debug(throwable.getMessage(), throwable);
            return Response.status(status)
                    .type(MediaType.APPLICATION_JSON_TYPE)
                    .entity(new ErrorMessage(Response.Status.INTERNAL_SERVER_ERROR.getStatusCode(),
                            throwable.getMessage(),
                            throwable.toString()))
                    .build();
        }
@return The JerseyTest instance for the first node
stroom-test-common/src/main/java/stroom/test/common/util/test/AbstractMultiNodeResourceTest.java