try {
Class<?> clazz = Class.forName(className, true, Thread.currentThread().getContextClassLoader());
return (Urls) clazz.newInstance();
} catch (Throwable t) {
String msg = "You should create a class '" + className + "' implements scenic3.Urls .";
throw new AppUrlsInitializeException(msg, t);
}
}