git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1028637 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2010-10-29 07:58:28 +00:00
parent 518f0ce146
commit d650d0c7e1
1 changed files with 2 additions and 0 deletions

View File

@ -66,6 +66,8 @@ public class LockFile {
lock = readFile.getChannel().tryLock();
} catch (OverlappingFileLockException e) {
reason = IOExceptionSupport.create("File '" + file + "' could not be locked.",e);
} catch (IOException ioe) {
reason = ioe;
}
if (lock != null) {
lockCounter++;