Changeset 10235 in josm for trunk/src/org/openstreetmap/josm/data/cache/JCSCacheManager.java
- Timestamp:
- 2016-05-17T02:02:30+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/cache/JCSCacheManager.java
r10169 r10235 158 158 159 159 @SuppressWarnings("unchecked") 160 private static <K, V> CacheAccess<K, V> getCacheInner(String cacheName, int maxMemoryObjects, int maxDiskObjects, String cachePath) { 160 private static <K, V> CacheAccess<K, V> getCacheInner(String cacheName, int maxMemoryObjects, int maxDiskObjects, String cachePath) 161 throws IOException { 161 162 CompositeCache<K, V> cc = cacheManager.getCache(cacheName, getCacheAttributes(maxMemoryObjects)); 162 163 … … 169 170 cc.setAuxCaches(new AuxiliaryCache[]{diskCache}); 170 171 } 172 } catch (IOException e) { 173 throw e; 171 174 } catch (Exception e) { 172 throw new RuntimeException(e);175 throw new IOException(e); 173 176 } 174 177 }
Note:
See TracChangeset
for help on using the changeset viewer.