+\r
+ String packageName = kbuilder.getKnowledgePackages().iterator().next().getName();\r
+\r
+ if (packageNames.contains(packageName)) {\r
+ String errorMsg = I18nProxy.getInstance().getValueByArgs(locale,\r
+ I18nProxy.ENGINE_CONTENT_ILLEGALITY, new String[]{\r
+ I18nProxy.getInstance().getValue(locale, I18nProxy.ENGINE_CONTAINS_PACKAGE)});\r
+\r
+ throw new CorrelationException(errorMsg);\r
+ }\r