Mercurial > jhg
comparison src/org/tmatesoft/hg/core/HgException.java @ 394:f52ca9530774 v0.8.0
Resolve FIXMEs: more consistent exceptions
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Wed, 22 Feb 2012 03:10:55 +0100 |
parents | 8107b95f4280 |
children | 0ae53c32ecef |
comparison
equal
deleted
inserted
replaced
393:728708de3597 | 394:f52ca9530774 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2011 TMate Software Ltd | 2 * Copyright (c) 2011-2012 TMate Software Ltd |
3 * | 3 * |
4 * This program is free software; you can redistribute it and/or modify | 4 * This program is free software; you can redistribute it and/or modify |
5 * it under the terms of the GNU General Public License as published by | 5 * it under the terms of the GNU General Public License as published by |
6 * the Free Software Foundation; version 2 of the License. | 6 * the Free Software Foundation; version 2 of the License. |
7 * | 7 * |
99 return this; | 99 return this; |
100 } | 100 } |
101 | 101 |
102 protected void appendDetails(StringBuilder sb) { | 102 protected void appendDetails(StringBuilder sb) { |
103 if (filename != null) { | 103 if (filename != null) { |
104 sb.append("file:'"); | 104 sb.append("path:'"); |
105 sb.append(filename); | 105 sb.append(filename); |
106 sb.append('\''); | 106 sb.append('\''); |
107 sb.append(';'); | 107 sb.append(';'); |
108 sb.append(' '); | 108 sb.append(' '); |
109 } | 109 } |