private static String validateZNodePath(String znodePath) {
        try {
            PathUtils.validatePath(znodePath);
        } catch (IllegalArgumentException e) {
            throw new IllegalArgumentException("znodePath: " + znodePath +
                                               " (reason: " + e.getMessage() + ')');
        }
        return znodePath;
    }
Creates a new instance with the specified {@link CuratorFramework}.
zookeeper3/src/main/java/com/linecorp/armeria/common/zookeeper/AbstractCuratorFrameworkBuilder.java