private void log(final Severity severity, final String message, final Throwable e) {
        LOGGER.trace(message, e);

        // LoggedException has already been logged
        if (errorReceiverProxy != null && !(e instanceof LoggedException)) {

            String msg = message;
            if (msg == null && e != null) {
                msg = e.toString();
            }
            errorReceiver.log(severity, null, getClass().getSimpleName(), msg, e);
        }
    }
Loads reference data that meets the supplied criteria into the current
reference data key, value maps.
stroom-pipeline/src/main/java/stroom/pipeline/refdata/ReferenceDataLoadTaskHandler.java