for (ICodeBase codeBase : appCodeBaseList) { try { return codeBase.lookupResource(resourceName); } catch (ResourceNotFoundException e) {
ICodeBaseEntry result = codeBaseEntryMap.get(resourceName);  if (result == null) {    result = search(appCodeBaseList, resourceName); if (result == null) {  result = search(auxCodeBaseList, resourceName);
	public ICodeBaseEntry lookupResource(String resourceName) throws ResourceNotFoundException {		for (ICodeBase codeBase : appCodeBaseList) {			try {				return codeBase.lookupResource(resourceName);			} catch (ResourceNotFoundException e) {				// ignore, continue trying other codebases			}		}		for (ICodeBase codeBase : auxCodeBaseList) {			try {				return codeBase.lookupResource(resourceName);			} catch (ResourceNotFoundException e) {				// ignore, continue trying other codebases			}		}		throw new ResourceNotFoundException(resourceName);	}