if (runtime.checkAccessibility(moduleName, loader) == false) { throw new NamingException("Only the application that has the embedded resource" + "adapter can access the resource adapter");
if (!getRuntime().checkAccessibility(moduleName, loader)) { String msg = localStrings.getString("cof.no_access_to_embedded_rar", moduleName); throw new NamingException(msg);