state.getConfig().getErrorContext().setMoreInfo("Check the result class.");
resultClass = Resources.classForName(resultClassName);
} catch (Exception e) {
throw new RuntimeException("Error configuring Result. Could not set ResultClass. Cause: " + e, e);
}
ResultMapConfig resultConf = state.getConfig().newResultMapConfig(id, resultClass, groupBy, extended,
xmlName);
state.setResultConfig(resultConf);
}
});
parser.addNodelet("/sqlMap/resultMap/result", new Nodelet() {