class DittoRuntimeExceptionToHttpResponse implements Function<DittoRuntimeException, HttpResponse> {

    public static DittoRuntimeExceptionToHttpResponse getInstance(final HeaderTranslator headerTranslator) {
        return new DittoRuntimeExceptionToHttpResponse(checkNotNull(headerTranslator, "headerTranslator"));
    }

    private  DittoRuntimeExceptionToHttpResponse(final HeaderTranslator headerTranslator);

}