public MRUCache() {
logger = new LoggerWrapper("Global.MRUCache");
- try {
- configuration = MirPropertiesConfiguration.instance();
- }
- catch (PropertiesConfigExc e) {
- throw new RuntimeException("Can't get configuration: " + e.getMessage());
- }
+ configuration = MirPropertiesConfiguration.instance();
cacheMaxItems=Integer.parseInt(configuration.getString("Global.Cache.Items"));
cache = new HashMap();
mruList= new LinkedList();