public static RuntimeException toRuntimeException()

in bulkimport/src/main/java/com/microsoft/azure/documentdb/bulkimport/ExceptionUtils.java [65:71]


    public static RuntimeException toRuntimeException(Exception e) {
        if (e instanceof RuntimeException) {
            return (RuntimeException) e;
        } else {
            return new RuntimeException(e);
        }
    }