if (type.matches(url)) {
try {
return type.createDir(url);
}
catch (Exception e) {
throw new ReflectionsException("could not create Dir using " + type.getClass().getName() + " from url " + url.toExternalForm(), e);
}
}
}
throw new ReflectionsException("could not create Vfs.Dir from url, no matching UrlType was found [" + url.toExternalForm() + "]\n" +
"Available types: " + urlTypes + "\n" +
"Do you need to add app server specific support to your deployment? (For example, errai-jboss-as-support for AS7)");
}