private static RuntimeException convertException(final Exception e) {
        return convertException(e, false);
    }
Convert a checked exception into an unchecked one. Produce useful logging and handling of interrupted exceptions.

@param e The exception to convert.
@return A runtime exception.
stroom-db-util/src/main/java/stroom/db/util/JooqUtil.java