refactoring

pull/1827/head
Nikita Koksharov 6 years ago
parent ca97559c71
commit 76c60d434a

@ -51,7 +51,7 @@ public class JndiRedissonRegionFactory extends RedissonRegionFactory {
context = new InitialContext(jndiProperties);
return (RedissonClient) context.lookup(jndiName);
} catch (NamingException e) {
throw new CacheException("Unable to locate Redisson instances by " + jndiName, e);
throw new CacheException("Unable to locate Redisson instance by name: " + jndiName, e);
} finally {
if (context != null) {
try {

@ -51,7 +51,7 @@ public class JndiRedissonRegionFactory extends RedissonRegionFactory {
context = new InitialContext(jndiProperties);
return (RedissonClient) context.lookup(jndiName);
} catch (NamingException e) {
throw new CacheException("Unable to locate Redisson instances by " + jndiName, e);
throw new CacheException("Unable to locate Redisson instance by name: " + jndiName, e);
} finally {
if (context != null) {
try {

@ -51,7 +51,7 @@ public class JndiRedissonRegionFactory extends RedissonRegionFactory {
context = new InitialContext(jndiProperties);
return (RedissonClient) context.lookup(jndiName);
} catch (NamingException e) {
throw new CacheException("Unable to locate Redisson instances by " + jndiName, e);
throw new CacheException("Unable to locate Redisson instance by name: " + jndiName, e);
} finally {
if (context != null) {
try {

@ -52,7 +52,7 @@ public class JndiRedissonRegionFactory extends RedissonRegionFactory {
context = new InitialContext(jndiProperties);
return (RedissonClient) context.lookup(jndiName);
} catch (NamingException e) {
throw new CacheException("Unable to locate Redisson instances by " + jndiName, e);
throw new CacheException("Unable to locate Redisson instance by name: " + jndiName, e);
} finally {
if (context != null) {
try {

Loading…
Cancel
Save