String resourcePattern = resourcePath + "/*.xml";
Resource[] resources = null;
try
{
resources = resMgr.findResources(resourcePattern);
}
catch (ResourceMgrException e)
{
String msg = LogUtil.error(getClass(), "No custom object descriptors found in resource location $0.", resourcePath);
throw new XMLDriverException(msg);