+ fix fallback message

This commit is contained in:
Costin Leau
2010-12-06 17:20:26 +02:00
parent 0523275fd2
commit 597f6b7774

View File

@@ -69,7 +69,7 @@ public class RegionLookupFactoryBean<K, V> implements FactoryBean<Region<K, V>>,
* @throws Exception
*/
protected Region<K, V> lookupFallback(Cache cache, String regionName) throws Exception {
throw new BeanInitializationException("Cannot find region named " + name + " in cache " + cache);
throw new BeanInitializationException("Cannot find region named " + regionName + " in cache " + cache);
}
public Region<K, V> getObject() throws Exception {