Boolean reportError = (Boolean) context.get(ValueStack.REPORT_ERRORS_ON_NO_PROP);
final String msg = "No object in the CompoundRoot has a publicly accessible property named '" + name + "' (no setter could be found).";
if ((reportError != null) && (reportError.booleanValue())) {
throw new XWorkException(msg);
} else {
if (devMode) {
LOG.warn(msg);
}
}