@Override
    public void setRootPath(String rootPath) {
        try {
            this.root = new URL(rootPath);
        } catch (MalformedURLException ex) {
            throw new IllegalArgumentException("Invalid rootUrl specified", ex);
        }
    }
<code>UrlLocator</code> is a locator that combines a root URL
and the given path in the AssetKey to construct a new URL
that allows locating the asset.
<p>
The root path must be a valid {@link URL}, for example, <br>
<code>https://www.example.com/assets/</code>

@author Kirill Vainer
jme3-core/src/plugins/java/com/jme3/asset/plugins/UrlLocator.java