diff 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
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/HgCallbackTargetException.java	Thu Sep 29 04:37:52 2011 +0200
+++ b/src/org/tmatesoft/hg/core/HgCallbackTargetException.java	Fri Sep 30 06:22:11 2011 +0200
@@ -56,6 +56,9 @@
 	@Override
 	public String getMessage() {
 		StringBuilder sb = new StringBuilder();
+		sb.append("Original exception thrown: ");
+		sb.append(getCause().getClass().getName());
+		sb.append(" at ");
 		appendDetails(sb);
 		return sb.toString();
 	}