comparison src/org/tmatesoft/hg/internal/DataAccessProvider.java @ 396:0ae53c32ecef

Straighten out exceptions thrown when file access failed - three is too much
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 23 Feb 2012 01:06:24 +0100
parents 3cfa4d908fc9
children bb278ccf9866
comparison
equal deleted inserted replaced
395:4732fffff58a 396:0ae53c32ecef
315 } 315 }
316 if (fileChannel != null) { 316 if (fileChannel != null) {
317 try { 317 try {
318 fileChannel.close(); 318 fileChannel.close();
319 } catch (IOException ex) { 319 } catch (IOException ex) {
320 // FIXME/TODO log facility can be obtained from session context
320 StreamLogFacility.newDefault().debug(getClass(), ex, null); 321 StreamLogFacility.newDefault().debug(getClass(), ex, null);
321 } 322 }
322 fileChannel = null; 323 fileChannel = null;
323 } 324 }
324 } 325 }