166167168169170171172173174175176
Properties info = new Properties(); StringReader stringReader = new StringReader(string); try { info.load(stringReader); } catch (Exception ex) { throw new RedisSystemException("Cannot read Redis info", ex); } finally { stringReader.close(); } return info; }
59606162636465
public static DataAccessException convertRjcAccessException(RuntimeException ex) { if (ex instanceof RedisException) { return convertRjcAccessException((RedisException) ex); } return new RedisSystemException("Unknown exception", ex); }
88899091929394
public static DataAccessException convertJedisAccessException(RuntimeException ex) { if (ex instanceof JedisException) { return convertJedisAccessException((JedisException) ex); } return new RedisSystemException("Unknown exception", ex); }
199200201202203204205206207208209