// get exceptions about java.lang.String not being PersistenceCapable.
// Really. I saw it with my own eyes.
Class cls = clr.classForName(className);
ApiAdapter api = getApiAdapter();
if (cls != null && !cls.isInterface() && !api.isPersistable(cls)) {
throw new NoTableManagedException(
"Class " + className + " does not seem to have been enhanced. You may want to rerun "
+ "the enhancer and check for errors in the output.");
}
// Some othe problem. Parent class's inaccurate error message is no
// worse than our best guess.