throw ExceptionUtils.uncheck(e);
}
}
public void addGlobalVariable(String klassName, String name) {
TypedKlass klass = resolveTypedKlass(klassName);
if (klass == null || klass == TypedKlass.NULL) {
throw new RuntimeException("ClassNotFoundException: " + klassName);
}
if (variableMap.put(name, klass) == null) {
log.info("add variable: {} {}", klass.getSource(), name);
}
}