comparison src/org/tmatesoft/hg/core/HgCallbackTargetException.java @ 320:678e326fd27c

Issue 15: Exception accessing oddly named file from history
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Fri, 30 Sep 2011 06:22:11 +0200
parents 6d1804fe0ed7
children 2fadf8695f8a
comparison
equal deleted inserted replaced
319:fa4aea41746e 320:678e326fd27c
54 * valuable debugging information about what led to the error. 54 * valuable debugging information about what led to the error.
55 */ 55 */
56 @Override 56 @Override
57 public String getMessage() { 57 public String getMessage() {
58 StringBuilder sb = new StringBuilder(); 58 StringBuilder sb = new StringBuilder();
59 sb.append("Original exception thrown: ");
60 sb.append(getCause().getClass().getName());
61 sb.append(" at ");
59 appendDetails(sb); 62 appendDetails(sb);
60 return sb.toString(); 63 return sb.toString();
61 } 64 }
62 65
63 @Override 66 @Override