Mercurial > jhg
comparison src/org/tmatesoft/hg/core/HgInvalidFileException.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 | f52ca9530774 |
children | 2747b0723867 |
comparison
equal
deleted
inserted
replaced
395:4732fffff58a | 396:0ae53c32ecef |
---|---|
62 | 62 |
63 @Override | 63 @Override |
64 protected void appendDetails(StringBuilder sb) { | 64 protected void appendDetails(StringBuilder sb) { |
65 super.appendDetails(sb); | 65 super.appendDetails(sb); |
66 if (localFile != null) { | 66 if (localFile != null) { |
67 sb.append(';'); | |
68 sb.append(' '); | |
67 sb.append(" file:"); | 69 sb.append(" file:"); |
68 sb.append(localFile.getPath()); | 70 sb.append(localFile.getPath()); |
69 sb.append(','); | 71 sb.append(','); |
70 if (localFile.exists()) { | 72 if (localFile.exists()) { |
71 sb.append("EXISTS"); | 73 sb.append("EXISTS"); |