this.pm = pm;
this.persistenceCapableClass = persistenceCapableClass;
// check persistenceCapableClass parameter being null
if (persistenceCapableClass == null)
throw new JDOUserException(
I18NHelper.getMessage(messages, "jdo.extentcollection.constructor.invalidclass", "null"));// NOI18N
// check persistence-capable
if (Model.RUNTIME.getMappingClass(persistenceCapableClass.getName(),
persistenceCapableClass.getClassLoader()) == null)
throw new JDOUserException(
I18NHelper.getMessage(messages, "jdo.extentcollection.constructor.nonpc", // NOI18N
persistenceCapableClass.getName()));
// subclasses == true is not yet supported
if (subclasses)