+ fix failing test

This commit is contained in:
Costin Leau
2010-12-06 19:06:27 +02:00
parent 597f6b7774
commit 8be789516e
3 changed files with 9 additions and 5 deletions

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 " + regionName + " in cache " + cache);
throw new BeanInitializationException("Cannot find region [" + regionName + "] in cache " + cache);
}
public Region<K, V> getObject() throws Exception {